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

Goes directly into insert mode when left clicking in Spyder IDE #83

Open
danielzmod opened this issue Oct 10, 2022 · 4 comments
Open

Goes directly into insert mode when left clicking in Spyder IDE #83

danielzmod opened this issue Oct 10, 2022 · 4 comments

Comments

@danielzmod
Copy link

Hi!
I was wondering if this is intended behaviour?
When i click my mouse to move the cursor while the window of Spyder not being active. The cursor jumps directly to insert mode.

Is there a setting to change this behaviour?

Spyder IDE 5.3.3
spyder-kernels 2.3.3
spyder-vim 0.1.0

@ccordoba12
Copy link
Member

Hey @danielzmod, thanks for reporting. Could you upload an animated gif of your problem? That would help us to better understand it.

On Windows and Mac you can use the Licecap program for that.

@danielzmod
Copy link
Author

Hey @danielzmod, thanks for reporting. Could you upload an animated gif of your problem? That would help us to better understand it.

On Windows and Mac you can use the Licecap program for that.
Hi!
I try to show it in the following file. You can see im in "Normal mode" but when i click somewhere it jumps directly to "insert mode". Then i try to push escape to get back into "Normal mode" but after changing cursor position with the mouse it jumps straight into "insert mode"
Insertmode

@ccordoba12
Copy link
Member

Thanks @danielzmod! One additional question: what are you doing before Spyder goes into insert mode? I'm asking because that's not visible in your gif.

@danielzmod
Copy link
Author

Thanks @danielzmod! One additional question: what are you doing before Spyder goes into insert mode? I'm asking because that's not visible in your gif.

Hi! Its actually happening twice. But the first one is harder to see. So lets focus on the other one.
I left click my mouse at line 44 once then cursor jumps to line 44 as seen in gif. I then push escape to get out of insert mode. Then i move around using jk (moving around a little then settling for line 42.) Then i decide to move the cursor with the mouse to line 44. I use one left click and cursor jumps to line 44 and goes into insert mode.

Then i stop the recording.
Hope this helps.

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

2 participants