Faustas - Programming, Projects, Psychology and Faust
The taglist and the NERDTree plugins are great extensions of the vim editor. To map these two plugins to specific buttons, you can use the following lines in your .vimrc file.
" Taglist
"
let Tlist_Enable_Fold_Column = 0
let Tlist_Compact_Format = 1
let Tlist_File_Fold_Auto_Close = 0
let Tlist_GainFocus_On_ToggleOpen = 1map <F11> :TlistToggle<cr>
vmap <F11> <esc>:TlistToggle<cr>
imap <F11> <esc>:TlistToggle<cr>" Nerdtree
let Tlist_Use_Right_Window = 1
map <F10> :NERDTreeToggle<cr>
vmap <F10> <esc>:NERDTreeToggle<cr>
imap <F10> <esc>:NERDTreeToggle<cr>
You can open the taglist with F11 and the NERDTree with F12. The NERDTree will be shown on the right side of the screen.
Comments
NERDTree is a really cool
By Anonymous on 02 Aug 2010 at about 23:39.NERDTree is a really cool plugin for vim. I love it.