spyder-vim icon indicating copy to clipboard operation
spyder-vim copied to clipboard

Goes directly into insert mode when left clicking in Spyder IDE

Open danielzmod opened this issue 2 years ago • 4 comments

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

danielzmod avatar Oct 10 '22 08:10 danielzmod

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.

ccordoba12 avatar Oct 10 '22 16:10 ccordoba12

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

danielzmod avatar Oct 12 '22 07:10 danielzmod

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.

ccordoba12 avatar Oct 12 '22 15:10 ccordoba12

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.

danielzmod avatar Oct 13 '22 17:10 danielzmod