-
Notifications
You must be signed in to change notification settings - Fork 415
Description
Describe the bug
There are probably more "issues", but I have found that default things like using backspace in insert mode, and trying to go to the end of a line with '$' doesn't work as expected.
It seems like VS detects '$' as option + 4, instead of the dollar sign, so when I press this combination, I insert a '$' instead of going to the end of the line.
Backspace just refuses to work if there's a ';'.
For example the line:
var myVariable = "test";if I try to use backspace in insert mode with the cursor on the ';', nothing happens. If I move inside the word "test", it works fine.
Some research has told me that this is actually the default VI setting, although I have never experienced it before.
To Reproduce
Pressing $ (option + 4) in normal mode, a dollar sign is now inserted at the cursor.
Expected behavior
Expect to get to the end of the line
Environment (please complete the following information):
- Visual Studio version: 17.3.5 (Visual Studio for Mac)
- VsVim version: 2.8.0.18
- Programming Language:
- Check(Type 'x') any that are installed:
- ReSharper
- Visual Assist
Additional context
This might be related to my Swedish keyboard language, although I doubt it.
I have found workarounds by setting the following in my .vsvimrc. So remapping option+4 to $, and set backspace=2 to restore normal backspace functionality.
set backspace=2
nnoremap <M-4> $
Note:
The following is written about contributing.
https://github.com/VsVim/VsVim/blob/master/CONTRIBUTING.md
General Keyboard configuration problems are described below.
#2527