From: Jamis Buck Date: 2004-08-17T12:53:46+09:00 Subject: Re: About ruvi Gavin Sinclair wrote: > _MY_ favourite is this: > > :g/abc/normal 3WdWA def > > (For exvery line that contains 'abc', delete the fourth word and > append ' def' to the line.) > > Another cool one is ^A/^X (increment/decrement the next number on the > line -- great in macros!) > > Gavin > Ooh, ooh. I almost forgot: ^P and ^N in insert mode. LIFE SAVERS. :) And I, like Hal, had never heard of ^A/^X--I'll have to investigate that one some more. (Alex--obviously a lot of vim users on the list--I think you've got your work cut out for you. I'm *definately* going to have to give ruvi a try...) -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis "I use octal until I get to 8, and then I switch to decimal."