Calmar's Vim Tips


Vim finally

<rant>

After switching several times between vim and (x)emacs, I will use vim now as a great editing tool.

About vim and emacs:

  1. VIM-bad (to solve so): always the need to hit the <ESC> which is ( on todays keyboards) FAR off located. Well there's a fine solution 'remap that ESC key' (see below). I think the ESC key was used in the past for vi because it was easy/comfortable to reach.

  2. VIM-great: The 'modal' design. You have several modes, where you have a complete keyboard setup with fast/single or easy keybindings. Vim is extremely fast and ergonomic!! (after you learned that tool at least)

  3. Emacs-good: then emacs has packages like 'gnus' , which are really good ones - own applications on that Lisp-OS (emacs). But mutt/abook and slrn (a gnus replacement) are great programs anyway - and much faster as well).

  4. Emacs-bad: emacs does not really support the idea of Unix, 'for each task a own tool'. That itself is not bad, unless that idea makes some sense, and in my experience it really does! E.g. I would be happy enough to edit my code manually, then let them through a 'beautify-C/html..' tool  (e.g. on pure html files I like to use `:%!tidy -i -q -asxml', or GNU indent for C). There are also other tools, which can easily work on the text inside vim. E.g. on single clicks when you map key for them.

  5. Emacs-bad: start-up of emacs. Actually I found a good solution to offer emacs a own `Workspace', and since it can also be used as a server, then it's almost ok. But it has anyway some disadvantages compared to when you can have multiple instances of an editor like vim (e.g. easy to navigate with the window manager or screen).

Remapping

Well, the biggest disadvantage of VIM (ESC far off located) is easy to solve :)

</rant>



May send comments to: mac@calmar.ws, thanks!