Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rebornix opened this issue Feb 27, 2018 · 6 comments

Comments

@rebornix
Copy link
Member

From @rebornix on November 16, 2017 23:6

From @adison on September 30, 2017 6:57

  • VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:24:39.530Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions:
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
Copy link
Member Author

From @alexandrudima on October 2, 2017 7:25

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

Please check:

  • extensions can redefine keybindings. Are the alt+arrow keys still bound to word navigation? (you can disable extensions or search for "alt+leftarrow" in the keybindings UI at cmd+k cmd+s)
  • Have you customized editor.wordSeparators

@rebornix
Copy link
Member Author

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
Copy link
Member Author

From @alexandrudima on October 2, 2017 7:55

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

  • open the keybindings UI: cmd+k cmd+s
  • search for shift+alt+right

Check that it is bound only to this command:
image

@rebornix
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant