[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT vim/uptime



At 12:23 p.m. 28/06/01 -0500, will trillich wrote:
On Wed, Jun 27, 2001 at 10:26:43PM +0100, Colin Watson wrote:
> will trillich <will@serensoft.com> wrote:
> >Looking to ENCODE OR DECODE SOME ROT-13 TEXT? No problem.
> >"Vg'f rnfl jvgu Ivz." It's a simple alphabet substitution where
> >each letter changes to its counterpart 13 places away in the
> >alphabet (a<->n, g<->t, etc) . Open the text in Vim, then
> >select it (type "v" at one end of the text to encode/decode,
> >then move to the other end) and then type "g?".
> >  Or, to rot-13 a whole line, just "g??".  That's all!
> >(Try ":help g?" for more info.)
>
> Cool, I learn something new about vim every day ...
>
> Drifting rapidly sideways onto the topic of things learnt today, one of
> my workmates pointed out readline's (and hence bash's) Ctrl-O keystroke,
> the default binding for operate-and-get-next. Try typing a sequence of
> commands, going back in your history to the start of the sequence, and
> then hitting Ctrl-O several times.

cool, a key-typo CTRL-P prints the last command...
what wonderfull world...



Reply to: