This PR suppresses lexime.vim creating mapping if b:lexima_disable is not 0.
Why I need this PR
I would like to create buffer local <ESC> mapping of insert mode.
Here is a part of my .vimrc and audocmds of my environment.
let b:lexima_disabled = 1
" It cannot work well because lexime.vim maps <ESC> when InsertEnter.
imap <silent><buffer><nowait> <ESC> <Plug>(denite_filter_quit)
nmap <silent><buffer><nowait> <ESC> <Plug>(denite_filter_quit)
Hi!
What is the change
This PR suppresses lexime.vim creating mapping if
b:lexima_disable
is not 0.Why I need this PR
I would like to create buffer local
<ESC>
mapping of insert mode.Here is a part of my
.vimrc
andaudocmd
s of my environment.https://github.com/mopp/dotfiles/blob/f0b69aaeca754127f3ffceb53a5407e8ceb8a511/.vimrc#L706-L712
So, lexime.vim overwrites my mapping for denite.nvim.