2011年6月27日 星期一

view code by ctags

Exuberant Ctags
Installing :apt-get install exuberant-ctags

@setup taglist

Edit: /etc/vim/vimrc

"Tglist edit
set tags=tags;
set autochdir
nnoremap :TlistToggle

@ Create tags into root directory of project
# ctags -R *

@ Operation
step1 : Don't open screen
step2: Open Tlist via F9
step3: Open you want to see functino via Ctrl+]
If you want to open new window to see this function, you can type Ctrl+w+]
step4: Return your main window Ctrl+t
Or, you can close your new winodw which see this function, you can type Ctrl+w+q

@You can change your window size by Ctrl+w+"+" or Ctrl+w+"-"

沒有留言:

張貼留言