On 14 Apr 1997, Kai Grossjohann wrote: > >>>>> Craig Sanders writes: > > vi: > > Craig> 1G # move to start of file > Craig> /192.168.1 # search for 192.168.1 > Craig> 5cw192.168.200<ESC> # change 5 'words' to 192.168.2 > Craig> n # find next > Craig> . # repeat change > Craig> n # find next > Craig> . # repeat change > Craig> n # find next > Craig> . # repeat change > Craig> :x # save andexit > > emacs: > > M-< ; go to beginning of file > C-x ( ; start recording kbd macro > C-s 129.168.1 RET ; search for 192.168.1 > M-b M-b M-b ; go back three words > M-d M-d M-d ; delete three words > 129.168.200 ; insert new string > C-x ) ; end kbd macro > C-x e ; repeat > C-x e ; repeat > C-x e ; repeat > > Nothing to do with "modeless".
vi: 37 keystrokes emacs: 40 keystrokes (if we count C-x or M-x as one; vi diesn't have all this C- and M- stuff). -- Vadim Vygonets * [EMAIL PROTECTED] * [EMAIL PROTECTED] * Unix admin If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one? -- Tom Cargil, C++ Journal, Fall 1990.