Skip to content
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

Cursor jumps from where I clicked in an inactive pane to the remembered position #27

Open
glocalglocal opened this issue Jul 19, 2022 · 3 comments

Comments

@glocalglocal
Copy link

Suppose I have panes A and B open. A is active and I click somewhere in B. Pane B becomes active and the cursor blinks once where I clicked, I start typing expecting my text to appear there, but between first and second blink the plugin moves the cursor to the remembered position and my newly typed text appears there. This keeps happening to me even when delay is set to 0ms and it is very annoying. The only difference 0ms makes is that the first blink ends faster than normal and you can tell something odd is happening.

The first blink where I clicked should not be visible or, better, the cursor should stay where I just clicked and the plugin should forget the remembered position. Intuitively, when a pane is already open and you click in a certain place, you would expect the cursor to move there.

@DLGMosheSteinberg
Copy link

FWIW, this one is getting on my nerves too

@ryansalmond
Copy link

+1
I'd prefer it if this plugin only triggered when a new file is being opened. If I shift the focus to an already-open pane with a keyboard shortcut, the cursor will be where I left it anyway. But if I shift the focus to an already-open pane by clicking on it, it's almost certainly because I want the cursor to land where I'm clicking.

@chrisspiegl
Copy link

chrisspiegl commented Feb 21, 2024

This appears to be discussed again in a new Issue which has some traction with a draft pull request: #54

Maybe this here can be closed as a duplicate (even though it was present before Issue #54).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants