vim

Two Vim tricks

in

I'm a long-time vi/vim user and occasionally kick myself for not knowing it better. In a way it dates back to my first UNIX days when the dozen or so basic vi commands were your bread and butter across *NIX variants, which varied so widely that knowing more vi than that could bite you at the one moment when you were trying to recover partitions or whatnot on a strange box where they only had the wrong kind of vi (or am I making that up?). In the past year I've become an all-day-all-the-time vim user and finally started forcing myself to use more features and to begin to tune a vimrc. I know it's started to take because the first thing I do when I set up a new machine or account anywhere is to scp down my vimrc from other hosts.

Today I learned about the '*' command and omni completion with ctrl-n. Tomorrow they will be indispensable. Why on earth did I not find these sooner? If you use Vim and don't know about them, go learn them. If you use Vim and do know about them, how come you didn't tell me sooner? If you don't use Vim, well, I love you, too.

Omni completion details found via amik.dk while watching Bram Moolenaar's 7 Habits talk which I found via TWID #30.

Syndicate content

This site is Copyright (c) 2005-2008 by Daniel Chudnov. All rights reserved.

All opinions stated here are my own, and do not reflect those of my employer.