For specific file types, I use Arpeggioinoremap with the <buffer> argument, for example, Arpeggioinoremap <buffer> {x}{y}
When switching to another filetype, I want to remove this key chord, So I use Arpeggioiunmap <buffer> {x}{y}.
However, if another Arpeggioinoremap contains {x} in the lhs, vim freezes.
Full example:
" vimrc
Arpeggioinoremap jk ()<Left>
Arpeggioinoremap df {}<Left>
Arpeggioinoremap fj []<Left>
Arpeggioinoremap dj <><Left>
Arpeggioinoremap dk ""<Left>
Arpeggioinoremap gk ''<Left>
Arpeggioinoremap bk ``<Left> " <-- I think that only this line is relevant. It contains 'b'.
For specific file types, I use
Arpeggioinoremap
with the<buffer>
argument, for example,Arpeggioinoremap <buffer> {x}{y}
When switching to another filetype, I want to remove this key chord, So I useArpeggioiunmap <buffer> {x}{y}
. However, if anotherArpeggioinoremap
contains{x}
in the lhs, vim freezes.Full example:
In insert mode, hit
zb
together. Vim freezes.Pressing
<C-c>
shows