Przeglądaj źródła

Update vim configuration og taglist plugin

Emmanuel Bouthenot 12 lat temu
rodzic
commit
f8ee2affd2
1 zmienionych plików z 23 dodań i 12 usunięć
  1. 23 12
      .vim/vimrc

+ 23 - 12
.vim/vimrc

@@ -237,18 +237,29 @@ imap <F4> <Esc>:call ToggleSpell()<CR>a
 "
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Settings for taglist.vim
-let Tlist_Use_Right_Window=1
-let Tlist_Auto_Open=0
-"let Tlist_Enable_Fold_Column=0
-let Tlist_Compact_Format=1
-"let Tlist_WinWidth=28
-let Tlist_Exit_OnlyWindow=1
-let Tlist_File_Fold_Auto_Close=1
-let Tlist_Process_File_Always=1
-"dip F1 to open previous buffersplay tags only for the current buffer
-let Tlist_Show_One_File=1
-let Tlist_Use_SingleClick=1
-let Tlist_Ctags_Cmd="~/.vim/bin/ctags-exuberant"
+
+" Define ctags parser path
+let Tlist_Ctags_Cmd = "~/.vim/bin/ctags-exuberant"
+"Tlist pane get focus on toggle
+let Tlist_GainFocus_On_ToggleOpen = 1
+" Tlist pane is closed once something is selected
+"let Tlist_Close_On_Select = 1
+" vim exists if the Tlist window is the last remaining
+let Tlist_Exit_OnlyWindow = 1
+" highlight current position in tag list
+let Tlist_Auto_Highlight_Tag = 1
+" Update the tag list regularly
+let Tlist_Auto_Update = 0
+" remove empty lines on Tlist pane
+let Tlist_Compact_Format = 1
+" show functions/methods signatures
+"let Tlist_Display_Prototype = 1
+" show only the tags for the current buffer
+let Tlist_Show_One_File = 1
+" Tlist pane width
+let Tlist_WinWidth = 50
+
+" toggle Tlist with F9
 nnoremap <silent> <F9> :Tlist<CR>