vim-easycomplete icon indicating copy to clipboard operation
vim-easycomplete copied to clipboard

Outputting auto bracket function names when typing fast

Open danboxall1988 opened this issue 3 years ago • 2 comments

First off, this plugin is great, I wish I'd found this earlier! Anyway, I was using this alongside the Auto-Pairs plugin, and occasionally would get some strange output. After a while, I managed to work out how to reproduce this - if I type a letter, followed in quick succession by a space or backspace, I get the following output respectively:

t=AutoPairsSpace() t=AutoPairsDelete()

It also added the equals sign. I hoped it was a problem with AutoPairs, so I switched to lexima.vim, but had the same issue:

t=lexima#insmode#_map_impl('<SPACE>') t=lexima#insmode#_map_impl('<BS>')

I figure these are too similar not to be related. Have you any idea how I could prevent this from happening? Thanks, and thanks for this plugin too!

Edit: sorry, I forgot to mention I'm using Vim 8.2 in an msys2 terminal in Windows 10. I'm gonna boot up my Linux vm and see if it happens there too.

Edit 2 : Yeah, it's happening on my LInux boot too. Linux Mint 20.3, with vim 8.2

danboxall1988 avatar Mar 12 '22 02:03 danboxall1988

Well, I guess I found a solution to this - I ended just writing a couple functions in my vimrc to handle brackets for me.

danboxall1988 avatar Mar 15 '22 00:03 danboxall1988

ok

jayli avatar Mar 18 '22 16:03 jayli