Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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-s...

Bash vi-like keyboard shortcuts:

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-co...

And they all come with cheat sheets. See downloads box at the bottom of each post for download links.



Great 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?



The vi-mode is actually provided by readline, so bash has no knowledge of it. So, no.


I don't know of a way to do it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: