Archive for the 'vim' Category

HTML.vim — Save Some Keystrokes (and Your Wrists)

Tuesday, February 3rd, 2009

To save my wrists from chronic RSI, I finally switched to using HTML.vim, and I must say that rocks! Having to type less means it forces me to be a more conscious typist, pausing to think what I really need to achieve rather than doing lots of pointless characters that gets the backspace treatment within seconds of appearing anyway.

It does take some getting used to but trust me it’s a wise investment.

The following settings (in .vimrc) works well for me:

:let g:html_tag_case = 'lowercase'
:let g:do_xhtml_mappings = 'yes'

Plus the ability to quickly insert a customized blank HTML template is just godsend!

I’ve procrastinated way too long, but if you’re like me and use Vim to edit HTML a lot, you should definitely check it out!