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

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

  •  24-06-2022
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top