7 ms·
I'm not an Emacs user, but aren't a lot of the text-editing shortcuts straight from Emacs?
by tedkalaw 15y ago
I'm not an Emacs user, but aren't a lot of the text-editing shortcuts straight from Emacs?
- aerique 15y agoYup, but you can also put Bash in a vi mode. Some else will to chip in with the exact incantation, since I'm on my phone now.
- pyre 15y agoset -o emacs or set -o vi
- irahul 15y agoThe text editing shortcuts are straight from readline http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html emacs bindings, which bash and many other programs use. readline supports both vi and emacs bindings. I am a dyed in the wool vim enthusiast, but when it comes to command line bindings, emacs' bindings are more convenient.