-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reset cursor to original position after preview closes. #3
Comments
I made a small change regarding preview windows (after the other issue you opened) - so if you can let me know if this still happens that would be great. Thanks! :) |
Hm, still bugging after a BTW I use Anyway, happy 2020 to |
I've just found out about |
Hmmm, I see exactly what you mean now, thanks for the video (without it I probably still wouldn't understand). |
this was still an issue for me in opening/closing the preview window with external plugins (e.g. the hover command in ALE) - I resolved it in an easy but kind of hacky way by automatically setting and triggering marks if anyone needs a quick fix |
This also seems to cause some nasty bugs with deoplete. This actually results in text getting messed up, which is a real showstopper: https://asciinema.org/a/kF0QcjiuGmJXE9Av5dgs59kNc Edit: I've opted to use https://github.com/ncm2/float-preview.nvim to solve my usecase. |
Hello, and thank you for this plugin :)
I understand that the cursor needs to move when the preview window would override it. However, I often need to navigate back to the original position by myself when the preview window is eventually closed.
Would it be possible for the cursor, when the preview window is closed, to optionally/automatically navigate back where it was just before the preview opened?
Note, as a workaround, that a couple of
<c-o>
is enough to navigate back to original location (btw why 2?).This is it, thank you for support :)
The text was updated successfully, but these errors were encountered: