microsoft / vscode-vs-keybindings

Visual Studio Keymap for Visual Studio Code
MIT License
55 stars 41 forks source link

VS keybindings extension overrides word navigation with column selection on OSX #4

Open rebornix opened 6 years ago

rebornix commented 6 years ago

From @rebornix on November 16, 2017 23:6

From @adison on September 30, 2017 6:57

Extension Author (truncated) Version
markdown-toc Ala 1.5.6
vsc-rustfmt Con 0.1.0
swift Kas 0.0.3
githistory don 0.2.3
python don 0.7.0
unicode-normalizer esp 0.0.1
vscode-auto-open-markdown-preview hnw 0.0.4
Lua key 0.0.9
Go luk 0.6.65
MagicPython mag 1.0.12
prettify-json moh 0.0.3
cpptools ms- 0.13.0
csharp ms- 1.12.1
vs-keybindings ms- 0.1.7
debugger-for-chrome msj 3.3.1
Ruby reb 0.15.0
RustyCode sav 0.19.1
guides spy 0.8.4
code-spell-checker str 1.4.0
vscode-react-native vsm 0.4.2
markdown-pdf yza 0.1.7

Steps to Reproduce:

  1. use alt + arrow key(left/right) to jump word by word
  2. use shift to select anything(word or letter) and try alt + arrow(right/left) again, it can only move letter by letter.

Reproduces without extensions: Yes

Without this feature, it's hard to delete multiple words efficiently.

Copied from original issue: Microsoft/vscode#35412

Copied from original issue: rebornix/vscode-vs-keybindings#25

rebornix commented 6 years ago

From @alexandrudima on October 2, 2017 7:25

@adison I cannot reproduce, word navigation works as expected for me.

Please check:

rebornix commented 6 years ago

From @adison on October 2, 2017 7:38

I have disabled all extensions before make this clip, what I mentioned is below, while using alt+shift+left/right, it move letter by letter. http://www.giphy.com/gifs/xT9IgxgK5tQmbIFLzO

No idea if I made changes to editor.wordSeparators, I think no though, and it is "editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",

rebornix commented 6 years ago

From @alexandrudima on October 2, 2017 7:55

@adison Can you please check your keybindings for shift+alt+right:

Check that it is bound only to this command:

image
rebornix commented 6 years ago

From @adison on October 2, 2017 7:59

There are two items.. What should I do? and it seems a default binding, isn't it? 2017-10-02 15 58 01

rebornix commented 6 years ago

From @adison on October 2, 2017 8:10

@alexandrudima Hi, I just map the cursorColumnSelectRight to control+shift+right, and so on cursorColumnSelectLeft, it works fine now. And I would suggest put this setting to default setting, I have no idea what is cursorColumnSelectLeft yet, but I do need select and move by word by alt+shift+left/right, just as other application, kind of sublime text and many others.

I will leave this for you to close or what you want, sort of leaving it to remind those came with same problem. Thanks for your help.

rebornix commented 6 years ago

From @alexandrudima on October 2, 2017 10:5

@adison based on your screenshot, it appears an extension defines alt+shift+left/right to be column selection instead of word selection.

Specifically, I believe the vs-keybindings would do that.

In your initial report, you have the following incorrect statement:

Reproduces without extensions: Yes