SVN blame snippet for VIM
Viewing who is to blame for a portion of code under SVN in VIM, add this to your .vimrc vmap gl :!svn blame =expand(“%:p”) \| sed -n =line(“‘< ") ,=line("'>“) p Then using Visual Block,…
Viewing who is to blame for a portion of code under SVN in VIM, add this to your .vimrc vmap gl :!svn blame =expand(“%:p”) \| sed -n =line(“‘< ") ,=line("'>“) p Then using Visual Block,…
To start spell check in Vim, use the command :set spell and turn off spell check with :set nospell With spell check activiated, misspelled words will be highlighted in Vim. Here are some commonly used…
Quick and easy way to replace empty lines in VIM: :%s/^\n//