(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 ---更改排序方式,在按名字排序和按出現(xiàn)順序排序間切換 x ---taglist窗口放大和縮小,方便查看較長的tag + ---打開一個折疊,同zo - ---將tag折疊起來,同zc * ---打開所有的折疊,同zR = ---將所有tag折疊起來,同zM [[ ---跳到前一個文件 ]] ---跳到后一個文件 q ---關閉taglist窗口 F1 ---顯示幫助
|
|