Vi

From miki
Revision as of 13:05, 8 September 2008 by Mip (talk | contribs) (/)
Jump to navigation Jump to search

Links

  • General
  • Fun
    • Vi would not be vi without a bit of fun...
    • Very funny material related to emacs vs. vi [1].
  • Guides & Cheat sheets
    • Very good post explaining why vi is superior and defeating common misconception (with examples) [2].
    • Very good graphical cheatsheet

Some Stuff

  • To enable syntax highlighting + numbering:
:syntax enable
:set bg=light          #Use set bg=dark if console background color is dark
:set number
  • Use Ctrl+[ instead of Esc. It has same effect (same keycode) but it's faster to type. It also works on AZERTY keyboard.
    • ... but so far not in AndLinux...