vsvim when input shift+each letter in insert mode, it add a '\n' automatically

StackOverflow https://stackoverflow.com/questions/18213971

  •  24-06-2022
  •  | 
  •  

Domanda

I use vsvim and when I input 'shift+each letter' for a capital letter in the insert mode, it add a '\n' automatically. It puzzles me. Why does this happen and how can I avoid this?

È stato utile?

Soluzione

Based on your comments you have the Python Intellisense Enhancer extension installed. This extension has a known bug that conflicts with VsVim (and really any other extension which uses the key mappings they have hard coded).

Essentially they are hard coding certain key combinations as starting intellisense. Visual Studio itself though uses commands which are mapped to certain key combinations. They are invoking intellisense by sending key strokes to the process instead of using a command or the intellisense API. This causes VsVim, and other extensions, to see the key stroke instead of the command and hence they react as if the user had typed it

I filed a bug on them with a suggested work around some time ago but haven't gotten any response

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top