VIM+CTAGS+TAGLIST IN WINDOWS

DOWNLOADS:

  • ctags  - http://ctags.sourceforge.net/
  • taglist  - http://www.vim.org/scripts/script.php?script_id=273

Extract ctags.exe from ctags58.zip to "C:\Windows\system32\" folder, so that we don't need to add folder contains ctags.exe into %PATH% environment variable.

Extract taglist_45.zip into "C:\Program Files\Vim\vimfiles\" folder, create one folder if vimfiles\ doesn't exist there.

Here is the _vimrc file:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" CTags的设定
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 按照名称排序
let Tlist_Sort_Type = "name"
" 在右侧显示窗口
let Tlist_Use_Right_Window = 1
" 压缩方式 Remove extra information and blank lines from the taglist window.
let Tlist_Compact_Format = 1
" 如果只有一个buffer,kill窗口也kill掉buffer
let Tlist_Exit_OnlyWindow = 1
"auto open Tlist when vim open
let Tlist_Auto_Open = 0
" 不要显示折叠树
let Tlist_Enable_Fold_Column = 0
" taglist 窗口宽度
let Tlist_WinWidth = 22
" no inc the width of the windows
let Tlist_Inc_Winwidth = 1
" Close tag folds for inactive buffers.
let Tlist_File_Fold_Auto_Close = 1
"To process files even when the taglist window is not open.
let Tlist_Process_File_Always = 1
"display the tags defined only in the current buffer
let Tlist_Show_One_File = 1 


More info needed please REFER to BLOG "vim+ctags用法" http://www.ixpub.net/blog-11300929-5585.html


你可能感兴趣的:(windows,File,kill,vim,buffer,fold)