Closed BlueDrink9 closed 3 years ago
inoremap <c-cr> :wq<cr>
<c-v> Enter
^M
I'm assuming GUIs like firenvim can handle ctrl + enter, but currently aren't.
CR should be in caps, e.g. inoremap <C-CR> <Esc>:wq<CR> or inoremap <C-CR> <cmd>:wq<CR>. This works fine on my machine :).
CR
inoremap <C-CR> <Esc>:wq<CR>
inoremap <C-CR> <cmd>:wq<CR>
inoremap <c-cr> :wq<cr>
, then press ctrl+enter<c-v> Enter
produces^M
), same as in terminal.I'm assuming GUIs like firenvim can handle ctrl + enter, but currently aren't.