VIM

taglist:
1. download taglist plugin http://www.vim.org/scripts/script.php?script_id=273
2. install the plugin by simply copy the corresponding file, plugin/taglist.vim to $HOME/.vim/plugin, and doc/taglist.doc to $HOME/.vim/doc (the destination directory may vary)
3. edit .vimrc by adding the following lines
filetype plugin on
map <F4> : TlistToggle<CR>
map <F5> : TlistOpen<CR>

misc: handy hotkeys, edit .vimrc
:nnoremap gr :grep <C-R<C-W> *<CR>
:nnoremap cm :'<,’>s/^/\/\//g
:cnoremap , edit <C-R>=expand(“%:h”)<CR>/

Record and reply:
q <letter>: start recording
q: end recording
@ <letter>: reply
<number>@<letter>: replay <number> times

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s