On 4 August 2010 09:46, Tha.Suresh <jemenisur...@gmail.com> wrote:
> Edit The Command Line With Vim
>
> This is a quick (and great) tip I found at Daily Vim:
>
> Open a linux terminal, and type some (long) command.
> Now type [ctrl]+[x] and then [ctrl]+[e]
> The command should be moved now to a vim window.
> Edit the command (fix typos, change parameters, etc..) and save.
> The command will now be executed. :)

You cn do most of the command line editing via readline.

set -o emacs or set -o vim

and most of the vim and emacs command line editing will work on the shell.

-balaji


-- 
http://balajin.net/blog
http://flic.kr/balajijegan
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to