Bash provides two modes for command line editing - emacs and vi. Emacs editing mode is the default and I already wrote an article and created a cheat sheet for this mode. This time I am going to introduce you to bash's vi editing mode and give out a detailed cheat sheet with the default keyboard mappings for this mode. The difference between the two modes is what command each key combination (or k
![Working Productively in Bash's Vi Command Line Editing Mode (with Cheat Sheet)](https://cdn-ak-scissors.b.st-hatena.com/image/square/deedb67dac356f5b6b3e505320e371d9688b51b1/height=288;version=1;width=512/https%3A%2F%2Fcatonmat.net%2Fimages%2Fcatonmat-preview-image.png)