I like the terminal in neovim. I am accustomed to tmux and tmux's copy-mode, and type q
to exit copy-mode to return back to regular-interactive-mode. Now, in neovim, when in NORMAL mode (which is akin to copy-mode in tmux), I end up typing q
hoping to get back to INSERT mode, only to realize nothing happening (as neovim dutifully prepares to start recording). I also use macro recording in vim.
So, is there a way to normal-mode-map q
to a
only when its a terminal-buffer? And retain q
for its existing record-macro use in other buffers?