Closed mikeyjk closed 6 years ago
I'm guessing you use sessions or views, that's how the mappings persist. I'm not so sure about why the '
mapping is broken, maybe another plugin is mapping over it. Use :help :DelimitMateTest
when you find the issue and paste here the result if you don't see anything suspicious.
Thanks Raimondi, I appreciate the response. I do use some session/view handling, but I'm not really integrating it into my day properly. I'll try disabling that and seeing how I go. If I find anything useful re; this I'll paste it here. Cheers!
Edit: This is so incredibly annoying.
Closing, haven't seen this happen in quite some time since moving to a docker dev env.
For those googling: I bumped into this bug recently (May 2019). Part of the issue is that the imap
maintained the calls to delimitMate
despite my having removed the plugin. I have deleted the plugin (PlugClean
) and removed the session.vim
files I could track down... It would be great to find out how to reset the bindings upon removing the plugin...
Update
:verbose imap
command points me to the scripts that are setting the bindings to delimitMate
. There are many in my ~/.local/share/nvim/view/
. I am in the process of deleting the 1,600+ files where delimitMate
saved the keybindings.
Conclusion and any ideas?
The mview
was saving the keybindings in the above mentioned directory. It is an unfortunate side-effect of how nvim
fails to discriminate between bindings from plugins (which should not be saved), and custom user settings...
I'm getting this as well. Also, this is not a nvim
bug AFAIK since I got this on Vim 8.1. I've tried removing the view files but that doesn't seem to work. Any ideas on how to fix this?
Post the output of :DelimitMateTest
I can confirm that this can still happen. It seems to be tied to specific files, not just file types: it occurred on an old file I had any time I pressed '
, but did not happen on a new empty buffer, a new file with the same extension, or a new file with all of the old file's contents pasted in (which was how I got around the issue this time).
Edit: as an update, this seems to be happening on quite a lot of files created more than a month or two ago. I've updated plugins in the meantime, which could affect things.
I am currently experiencing an issue where the document I'm editing is getting repetitively spammed whenever I try and use the apostrophe (') character. I have uninstalled delimitMate via Vundle, yet still seem to be experiencing the issue. Very frustrating.
The behaviour is persisting after removing the extension. The 'fix' I have, is at seemingly arbitrary points in time when the issue manifests, is to run this:
:mapclear | mapclear <buffer> | mapclear! | mapclear! <buffer>
Source for the 'fix' (workaround):
I also receive "delimitMateBS" when trying to use the backspace key (when the issue occurs). This is slightly less annoying, because my whole buffer doesn't freeze with giant amounts of spam. The backspace key has a 1:1 relationship between being pressed and the strange text being pasted. Whereas, the quote key has a 1:many relationship.
Note: I am using neovim.
Can anyone recommend a more permanent solution to resolve this issue?