You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like vim (and nvim) no longer respect the swapchoice setting when this plugin is loaded. It works for 'q' and 'a' (I didn't try others), but not 'o' (probably the most common choice). Any idea what's going on here?
The text was updated successfully, but these errors were encountered:
The plug-in is trying to rewrite the file you're opening. When you do "vim file.txt:20" vim tries to open a file with that exact name.
This plug-in will capture those and if a file named "file.txt" exists it will replace the new file that was just created with the previously existent file and jump to line 20.
The problem is that those manipulations confuse vim events and some weird things happen.
I've tried two different strategies for the substitution to happen, but both have some weird side effect.
Not sure why this is happening, but I'm pretty sure this plugin breaks the
v:swapchoice
varaible.I have a section of code in my vimrc like:
Here's some online explanation.
It looks like vim (and nvim) no longer respect the swapchoice setting when this plugin is loaded. It works for
'q'
and'a'
(I didn't try others), but not'o'
(probably the most common choice). Any idea what's going on here?The text was updated successfully, but these errors were encountered: