Vim

Posted on October 07, 2010 tools

tutorials

:set spell

spelling tutorial

:TOhtml

Convert file to html

plug ins

syntax files

vimrc

folding

  • create fold
    • visual mode
    • select lines
    • zf to fold
  • unfold
    • zo

:set foldmethod=indent zm -fold more zr -fold less

:set foldlevel=0

To set the width of a window type: ctrl+w 100 | ^W100|

jumping tags ^[ - jump to ^T - jump back

switching case:

  • shift + ~
  • visual mode selection then “gu” to for lowercase or “gU” for upper case.