Skip to content
Steve Baker edited this page Aug 26, 2017 · 4 revisions

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"
}

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"
}
Clone this wiki locally