Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.06 KB

keybindings-vscode.md

File metadata and controls

39 lines (29 loc) · 1.06 KB

Keybindings: VS Code

Rewrap's main command has the default keybinding Alt+Q. If you want to change it to something else, add something like this to your keybindings.json file. For example for Ctrl+Shift+Q:

{ 
  "key": "ctrl+shift+q", "command": "rewrap.rewrapComment"
}

Custom column command

To add a keybinding for the Wrap Comment / Text at column... command, use its rewrap.rewrapCommentAt id:

{ 
  "key": "alt+shift+q", "command": "rewrap.rewrapCommentAt"
}

Auto-wrap command

To add a keybinding for the auto-wrap toggle, use the command ID rewrap.toggleAutoWrap.

{
    "key": "shift+alt+q", "command": "rewrap.toggleAutoWrap"
}

Old keybinding

The original keybinding for Rewrap was Ctrl+K Ctrl+W, but this has been removed in favor of Alt+Q.

If you prefer to use this shortcut, you can add it to your keybindings.json file:

{ 
  "key": "ctrl+k ctrl+w", "command": "rewrap.rewrapComment"
}