Wednesday, March 21, 2007

vim tricks

i've been trying to learn new stuff in vim, instead of doing same old. recently, i've been using :tabe to edit in tabs. lately, i've been trying the :sp to edit in splits.
this set of tricks makes it even nicer:
now i can type ctrl+j to move down or ctrl+k to move up a split and
have that split maximized.
both tabs and split make it simple to yank and paste between files. something for which i had been using the mouse.