Your command, if inserted into vimrc, is executed before the plugin defines an intrusive display, and therefore it has no effect. For this to have an effect, you must run it after this plugin, which is usually achieved by putting it in ~/.vim/after/plugin/disable_mappings.vim (any name instead of disable_mappings works). Secondly, the VimEnter event is VimEnter :
augroup DisableMappings autocmd! VimEnter * :inoremap <leader>ic <Nop> augroup END
. To disable all mappings, see :h 'paste' and :h 'pastetoggle' , also :h :imapclear (although the latter will remove the mappings instead of temporarily disabling them).
Of course, you can also use iunmap , where I suggested using inoremap โฆ <Nop> . How did I forget this command?
Zyx
source share