In Vim you can save all your files and quit by typing ZZ. How can I create a similar mapping but for a different key? Some keys like h, j, k, and l it seems like this would not be possible. Are there any keys that you could do a similar mapping to ZZ?
In Vim you can save all your files and quit by typing ZZ .
Share
Derobert is correct. There is nothing special about the ZZ type of key combination.
For example, you can create a key shortcut to save all your files without quitting when you type “__” (two underscores) by putting the following in your .vimrc: