Re: learning vi editor

From: Scott Lurndal (scott_at_slp53.sl.home)
Date: 02/20/04


Date: Fri, 20 Feb 2004 19:45:21 GMT


"Robert M. Riches Jr." <spamtrap42@verizon.net> writes:
>In article <1VjZb.38534$B81.242220@twister.tampabay.rr.com>, konsole wrote:
>>
>> I've really dreaded learning vi because I had always heard it
>> was archaic and had confusing modes / difficult to remember
>> key combinations, etc, etc.
>
>Let the flame wars begin... :-) :-)
>
>There are many (including myself) who do hold the opinion
>that vi is archaic and all that. For me, the worst parts
>are the hideously counter-intuitive modes and the inability
>to conveniently merge and break lines.

? - uppercase 'J' merges (joins) two adjacent lines. yy/[pP] moves
groups of lines around. gvim supports the mouse for
those whose hands must leave the keyboard and does syntax highliting
allows editing of multiple files in either vertical or horizontal
windows (gvimdiff even does colorful diffs between two files).

? - lowercase 'a' followed by the return key will break a line.

>
>You might want to experiment with emacs or xemacs. Many
>find it a much more civilized editor.

Hah. Flame wars indeed. vim/gvim beats emacs anyday unless
you really need a LISP programming environment :-).

scott