(1) These follow lines show how to install taglist 1: download Ctags from http://ctags./ tar -xvvzf file.tar.gz 2: go into the directory ./configure -prefix (the path you want to install) make; make install 3: open ~/.vimrc, add "filetype on" 4: download taglist from http://www./scripts/script.php?script_id=273 5: unzip file.zip 6: cp -r plugin/* ~/.vim/plugin cp -r doc/* ~/.vim/doc 7: when you enter one vim, you can enter 'helptags ~/.vim/doc' which generates help doc, you can enter 'help taglist.txt' to see i 8: the use of taglist vim ~/.vimrc, then add follow lines let Tlist_Show_One_File=1 let Tlist_Exit_OnlyWindow=1 let Tlist_Use_Right_Window=1 let Tlist_Auto_Open=1
let Tlist_Ctags_Cmd = "/usr/bin/ctags" let Tlist_WinWidth = 50 map <F4> :TlistToggle<cr> 9: others ctr+ww = switch TlistToggle = start and end taglist o ---在一个新打开的窗口中显示光标下tag 空格 ---显示光标下tag的原型定义 u ---更新taglist窗口中的tag s ---更改排序方式,在按名字排序和按出现顺序排序间切换 x ---taglist窗口放大和缩小,方便查看较长的tag + ---打开一个折叠,同zo - ---将tag折叠起来,同zc * ---打开所有的折叠,同zR = ---将所有tag折叠起来,同zM [[ ---跳到前一个文件 ]] ---跳到后一个文件 q ---关闭taglist窗口 F1 ---显示帮助
|
|