-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualblock Insert Bug #2330
Comments
Calling |
This can't be fixed in ALE. I reported a bug in Vim here: vim/vim#4069 |
This bug has been fixed in Vim, but I'll re-open until I can remove some uses for |
This should be fixed for older Vim versions now too. The only place where the |
Information
VIM version
Operating System: archlinux w updates as of Mon 04 Mar 2019 03:00 UTC
Strange Bug
There seems to be a new bug related to visual-block insertion and this plugin. When visual-block-mode is entered with
<c-v>
in normal mode, and for example,8j
is pressed to move the cursor down 8 lines, then "visual-block-insert-mode" is entered withI
, then some text (such as "foo " is entered), then<esc>
is pressed, the cursor ends up on the "proper" line. Whenj
is pressed, however, the cursor jumps to the wrong position. It's as ifsetpos
was called and "curswant" was set properly, but for some reason upon moving the cursor, it uses a different curswant.I think it may be an issue with the
autocmd CursorMoved
and usingsetpos()
, but I can't be sure, as it's a tricky little bug, and I am not too knowledgable about the inner working of your plugin. However, when your plugin is disabled, then this bug goes away. I also noticed it in andymass's vim-matchup, for what it is worth. Ale is up-to-date, as well, as Mon 04 Mar 2019 03:00 UTC.Please see the asciinema below for clarification.
Thanks,
dylnmc/novum
The text was updated successfully, but these errors were encountered: