3 ms·
I am a huge fan of maximizing productivity in the shell. I wrote these three articles a while ago: Bash emacs-like keyboard shortcuts: http://www.catonmat.net
by pkrumins 15y ago
I am a huge fan of maximizing productivity in the shell. I wrote these three articles a while ago:
Bash emacs-like keyboard shortcuts:
http://www.catonmat.net/blog/bash-emacs-editing-mode-cheat-sheet/ http://www.catonmat.net/blog/bash-emacs-editing-mode-cheat-s...
Bash vi-like keyboard shortcuts:
http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet/ http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-shee...
Definitive bash guide to command line history:
http://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/ http://www.catonmat.net/blog/the-definitive-guide-to-bash-co...
And they all come with cheat sheets. See downloads box at the bottom of each post for download links.
- dave1010uk 15y agoGreat articles. I'm just starting to get into the hang of vi. I'm giving vi-mode in bash a go (with "set -o vi") but there doesn't seem to be any indication of when I'm in command/insert mode. Is there any way to see this?
- pkrumins 15y agoI don't know of a way to do it.
- mun2mun 15y agoThere is a workaround in zsh http://superuser.com/questions/151803/how-do-i-customize-zshs-vim-mode http://superuser.com/questions/151803/how-do-i-customize-zsh...
- graywh 15y agoThe vi-mode is actually provided by readline, so bash has no knowledge of it. So, no.