Ctrl+Right behaves like sublime, it goes to the end of the current word.
VS (and other Windows editors such as notepad, word) goes to the beginning of the next word.
To satisfy both camps we should add an editor option to control this behavior.
It would be great with an option for Ctrl+Left too for the behavior mentioned in #943
To control this behaviour and get VS-style Ctrl+Right, please edit your keybindings.json
and add:
{ "key":"ctrl+right", "command":"cursorWordStartRight", "when":"editorTextFocus" }
{ "key":"ctrl+shift+right", "command":"cursorWordStartRightSelect", "when":"editorTextFocus" }
This will overwrite the defaults:
{ "key":"ctrl+right", "command":"cursorWordEndRight", "when":"editorTextFocus" }
{ "key":"ctrl+shift+right", "command":"cursorWordEndRightSelect", "when":"editorTextFocus" }
Please also see #832 for getting VS-style Ctrl+Delete.
Most helpful comment
To control this behaviour and get VS-style Ctrl+Right, please edit your
keybindings.json
and add:This will overwrite the defaults: