[oclug] Vim Rulez (was Programming Wars - Final Results)
je_linux at kronos.honk.org
Wed Apr 18 22:15:35 EDT 2001
On Wed, 18 Apr 2001, Michael P. Soulier wrote:
> > "Regular editor": <home><bksp> a (2 keystrokes)
> > vi: <esc><up><shift-j>i (5 keystrokes)
> > vim: <home>bksp> (2 keystrokes! ;-)
> Yeah, what's the setting to enable that Vic? I think by default backspace
> at the beginning of a line does nothing just like Vi, but you can enable it.
I've got a weirdness going on in my Debian terminal. If I use home/end, I
get odd characters, not cursor movement. RH terminal is fine.
> And even better is Ex, the line editor that Vi is built on. Try this is
> Replace instance of "rocks" with "rules", but only if it appears
> immediately after "linux", at the beginning of the line.
> :%s/^linux rocks/linux rules
At the beginning of a line... is that what the hat does to the
expression? My regex knowlege is lacking - any good resources to pick
More information about the OCLUG