microsoft / vscode-vs-keybindings

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

Shift-option-arrow should select words on MacOS #35

Closed natewaddoups closed 2 years ago

natewaddoups commented 2 years ago

Repro steps:

  1. use a macbook
  2. open some source code in Visual Studio Code (I'm using typescript, in case the type of code matters)
  3. put the cursor on the left side of a word
  4. press option-shift-right-arrow

Expected result: the entire word is selected.

Actual result: only one character is selected.

Word-by-word NAVIGATION works in VSC using option-arrow.

Word-by-word SELECTION works in this text-entry box (the UI that I'm using to submit this feedback right now in VSC) using option-shift-arrow.

The same hotkey also performs word selection in every other Mac app.

The same hotkey does NOT perform word selection in VSC's source-code editing window.

natewaddoups commented 2 years ago

This is not a VS Code bug after all, it was caused by the Visual Studio Keymap extension.

gusalvestavo commented 1 year ago

Good tip! For me, what broke it was the Notepad++ keymap extension.