spyder-ide / spyder-vim

A plugin for Spyder to enable Vim keybindings
https://www.spyder-ide.org
MIT License
126 stars 26 forks source link

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

Open danielzmod opened 2 years ago

danielzmod commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.