auto-pairs icon indicating copy to clipboard operation
auto-pairs copied to clipboard

breaks § key on macOS

Open minusf opened this issue 7 years ago • 1 comments

the § key stops working on macOS (vim version 8.0.1420)

minusf avatar Jan 09 '18 10:01 minusf

I have the same problem. I traced it to this commit: https://github.com/jiangmiao/auto-pairs/commit/6afc850e2429e6832a1b093e32a31e0b5eff477d

Apparently in insert mode, § is now bound to <C-R>=AutoPairsMoveCharacter('''')<CR>. I don't understand how that binding occurs though. I do know that pressing <M-6> also produces a § but I don't see how that would get bound, either.

A workaround that works for me, is to add this to .vimrc: let g:AutoPairsMoveCharacter = ''

jqno avatar Mar 20 '18 13:03 jqno