Thursday, February 14, 2013

VIM and code browsing

=> Install Tlist plugin
1. download taglist from http://www.vim.org/scripts/download_script.php?src_id=7701
# cd /usr/src
# wget -O taglist.zip http://www.vim.org/scripts/download_script.php?src_id=7701
OR Download it mannualy

2. Install the TagList Vim Plugin
# cd ~/.vim
# unzip /usr/src/taglist.zip

3. Enable the plugin in the ~/.vimrc, add folowing line
# vim ~/.vimrc
 filetype plugin on

=> How to use
:Tlist ;  lists all macro , functions, variables  on  left side  ( ctrl + w + w)
:ta <function name>
:vsp <file path>;  splits windows vertically (To switch between windows  (ctrl + w + w)) )

No comments:

Post a Comment