On Wednesday 04 August 2010 09:53 AM, Balaji Damodaran wrote:
On Wednesday 04 August 2010 09:46 AM, Tha.Suresh 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. :)
Didn't work in zsh, works in bash.
and in Ubuntu, it opened in nano - apparently, vim was not installed.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc