I want to remap <C-x>
in insert mode (I do not use the completion commands via this key). This is what I tried:
inoremap <C-x> <Esc> :x <Enter>
inoremap <C-x> <C-o> :x
Both variants are accepted by vim, but have no effect. When I execute :imap <C-x>
I get:
<C-X> * <C-R>=<SNR>27_ManualCompletionEnter()<CR>
.
I also tried to remove the default mapping:
iunmap <C-x>
which returns E474: Invalid argument
.
So it seems that <C-x>
is kind-of hard wired into vim and cannot be remapped. Is this correct or is there a way to achieve this?
:verbose imap <C-x>
; I doubt that mapping is coming from Vim