I have been using neovim
for a long time and I have been using Ctrl + s
to save and Ctrl + q
to quit.
nmap <c-s> :w<CR>
imap <c-s> <Esc>:w<CR>a
nmap <c-q> :q<CR>
imap <c-q> <Esc>:q<CR>
Due to the unexpected behavior of nvim
with coc
I switched to vim
. It's using the same configuration but Ctrl + s
freezes the editor and Ctrl + q
is required to unfreeze it. I'm using Simple Terminal
and it does not freeze for Ctrl + s
.
NVIM v0.4.2
VIM - Vi IMproved 8.1