Open AdamAndersonFalafelSoftware opened 8 years ago
Thanks for reporting this! I can't say when I'll have time to fix this, but I'm willing to accept a PR.
Hi, I found that it is enough to only remove shift+home and shift+end keybinding from sanity, default back to vscode's keybinding.
As for the workaround, one can add the following setting to keybinding.json:
{
"key": "shift+end",
"command": "-tabsanity.cursorEndSelect",
"when": "editorTextFocus"
},
{
"key": "shift+home",
"command": "-tabsanity.cursorHomeSelect",
"when": "editorTextFocus"
}
This bug still is not fixed and much confused me. I installed multiple new VSCode extensions and I found, it's this extension after disabling multiple extensions.
I currently have a state that persists past a restart of VSCode and does the following:
Conversely, these scenarios behave as expected:
In summary, holding Shift and expanding selection to a different line, then trying to shrink selection to the home or end of the new line with Home or End keys causes the cursor to jump to Home or End of the starting line. Further expanding selection with Home or End stays on the new line as expected.