Skip to content

Using mouse in insert mode causes VIM to think it is in normal mode #2410

Closed
@kjgoodrick

Description

@kjgoodrick

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

What happened: When in insert mode using the mouse to move the cursor causes the cursor to switch to block and the mode "changes" to normal; however, VIM is actually in insert and as soon as any letter is pressed the mode "switches" to insert and the character(s) are inserted. If the user settings file is open the cursor behaves as expected.

What did you expect to happen: Stay in insert mode, cursor remains a line and moves to clicked location. This happens if the user settings file is open.

How to reproduce it (as minimally and precisely as possible): be in insert mode click anywhere else in the document.

This has also been reported by christiangenco here (Includes a video).

Environment:

  • Extension Name: vim
  • Extension Version: 0.11.0
  • OS Version: Windows_NT x64 10.0.16299
  • VSCode version: 1.20.1
{
	"activationTimes": {
		"startup": true,
		"codeLoadingTime": 283,
		"activateCallTime": 2,
		"activateResolvedTime": 19,
		"activationEvent": "*"
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions