0

Regarding Visual Studio Code shortcuts: What is the command Id to move the cursor one space to the right? This way I could create a key binding to accomplish this command.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131

1 Answers1

0

The command you're looking for is cursorRight. This is an example of a key binding with this functionality:

{ "key": "ctrl+r", "command": "cursorRight", "when": "editorTextFocus" }

You can change the value of "key" and copy-paste the line in the keybindings.json file to override the default value for that key(s). Also adjust the attribute "when" to your needs.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
CreepyRaccoon
  • 826
  • 1
  • 9
  • 19