vimrc+for+use+with+ctags

code format="vim" " To Install: "    apt-get install exuberant-ctags "    mkdir -p ~/.vim/doc ~/.vim/plugin "     cp /usr/share/vim-scripts/plugin/taglist.vim ~/.vim/plugin/ "    cd ~/.vim/doc "     cp /usr/share/vim-scripts/doc/taglist.txt. "    start vim: "vi taglist.txt" and run the ":helptags ." command "     Restart vim and use as follows " To Use: " F4                   Toggles the list of available tags (you need to have tags generated first) " F8                   Generates ctags for the current directory recursively "  ctrl+]               to jump to definition " g ctrl+]             to jump to implementation "  ctrl+t               to go back " ctrl+w ctrl+]        to jump to definition in a new horizontal split "  ctrl+\               to jump to definition in a new tab " g ctrl+\             to jump to implementation in a new tab "  alt+]                to jump to definition in a new vertical split " ctrl+w c             to close a tab or a horizontal split "  ctrl+w t             to open a new tab " gt OR ctrl+PgUp      move to the next tab "  gT OR ctrl+PgDown    move to the previous tab " Ctrl-W s             will create a horizontal split. "  Ctrl-W v             will create a vertical split. " Ctrl-W direction     will allow you to move among the panes.

let Tlist_Ctags_Cmd = "/usr/bin/ctags" let Tlist_WinWidth = 50

set number

map  :TlistToggle map  :!/usr/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . map  :tab split:exec("tag ".expand(" ")) map g :tab split:exec("tjump ".expand(" ")) map  :vsp :exec("tag ".expand(" ")) code