Shortcuts: Ctrl q to exit vim

I really like this tip to exit vim quickly.

You can use ZZ to save and exit vim but it’s 3 keystrokes. This neat hack lets you do the same in just 2 keystrokes. On the Mac:

~/.bash_profile

~/.vimrc

https://unix.stackexchange.com/a/241784/198669

https://unix.stackexchange.com/a/241784/198669

https://unix.stackexchange.com/a/241784/198669