When I use imap or inoremap to create any shortcut in Neovim 0.2.0, the shortcuts seem to act as if they are not there! Here is an example that I just tried.
nnoremap <F2> :w!<CR>
vnoremap <F2> <Esc>:w!<CR>gv
inoremap <F2> <Esc>:w!<CR>gi
The insert mode mapping just types in the key combination when I enter it in insert mode. However, the normal and visual mode mappings work just fine. I have tried other combinations such as zz C-s and others.
Any ideas?
P.S. I have stty -ixon in my shell rc file.
vim -u NONE(or whatever Neovim's version of that is) and see if the problem persists. – Tumbler41 Oct 05 '17 at 14:18imap <Esc>print? – Mass Oct 05 '17 at 14:19<C-s>prints out^Sas it would with no binding. – Zack Frost Oct 05 '17 at 15:13<c-s>has to do with this? Basically, the answer is it should work and you must have something in your configs that is, for example, changing what