" Ctrl-Enter: force save file
nnoremap <silent> <C-Enter> :<C-u>write!<CR>
" Shift-Enter: force save file when buffer was changed
nnoremap <silent> <S-Enter> :<C-u>update!<CR>
" Ctrl-s: force save file
inoremap <silent> <C-s> <Esc> :write!<CR>i
<C-s>
в терминале, добавить в конфиг:stty ixoff -ixon
stty start undef
stty stop undef
setopt noflowcontrol