[CentOS] gcc editor for newbie (Emacs or vim or ?)

David Dyer-Bennet dd-b at dd-b.net
Wed Aug 13 15:10:50 UTC 2008


On Mon, August 11, 2008 19:27, Lanny Marcus wrote:
> On Mon, Aug 11, 2008 at 4:04 PM, Kuang-Chun Cheng <kcc1967 at gmail.com>

>> So, learn vi ... and you can share the same command when using
>> terminal/bash.
>
> Thank you for pointing that out! Yes, bash is the shell.

The GNU readline library, which is where bash gets it's command-line
editing, supports both emacs and vi modes, so you can have that
commonality either way.

Personally I think the only vi command one needs to know is ":q!".
-- 
David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info



More information about the CentOS mailing list