Re:Enhancements to Shell and Vim Productivity
by nickkthequick on Monday October 15, 2012 @12:33PM
(#4655802)
How is Ctrl- different from using "q" in vi?
Re:Enhancements to Shell and Vim Productivity
by babarock on Monday October 15, 2012 @12:51PM
(#4655907)
It's a matter of muscle memory. I used Vim exclusively for several years, and used vi-mode on my shells. Now that I've switched to emacs, my fingers are more comfortable using Ctrl-<key> for commands.
However, as a Mac user, all of the Cocoa text widgets more or less support emacs keybindings, so having a working knowledge of basic emacs movement commands has been very useful.
The emacs bash/readline keybindings also have a really neat trick that the vi bindings don't -- keyboard macros!
Ctrl-( to start recording, Ctrl-) to stop, and Ctrl-x to execute.