Re:Enhancements to Shell and Vim Productivity
by jlgreco on Monday October 15, 2012 @01:17PM
(#4656035)
I use vi-mode in my shell but the end/beginning Vi commands (A,I,0,$,etc) are the only ones I find myself using regularly. I also use c[motion] and d[motion] on occasion, but that is pretty much it.
I'm not convinced that powerful editing is necessary for the command line, but familiar shortcuts for beginning/end seem very useful.
Re:Enhancements to Shell and Vim Productivity
by dllthomas on Monday October 15, 2012 @02:08PM
(#4656307)
There are absolutely times that powerful editing is mandatory at the command line; I am skeptical that there are times when powerful editing at the command line is necessary but pulling the line into your $EDITOR (v in vi-mode, ctrl-x ctrl-e in emacs-mode) is not the best way to deal with it.
But that way I am also able to hit ESC and do a / for a search, like within vim, which I am much more used to than a search in emacs. I found that way combines the best of both worlds.