10 Mar 2009

Updated: Vim settings file (vimrc)

Vi has been my favourite text editor for over a decade now (Gosh! Has it been that long?). I use the more advanced Vim on my Windows and Linux machines. Fellow Vi/Vim lovers can always find the latest copy my vimrc file here.

I’ve just uploaded a minor update to it. Changes include

  • Reduced tab size to 2
  • Added windows-like hotkeys (E.g. Ctrl+A for select all, Ctrl+Tab to cycle across active tabs and so on)
  • Vim will now automatically jump to the last known cursor position on opening a file.
  • Added “ultraedit” style highlighting of the current line (this is getting handy as files grow longer by the day)

As usual, please feel free to point out any errors or improvement.