Transpose is an extension for VSCode for transposing selections or characters. It is similar to the transpose plugin in Sublime Text.
Add this to your keybinding.json
file.
{
"key": "ctrl+t",
"command": "extension.transpose"
}
- Swaps characters around the cursor(s) when nothing is selected.
- Swaps multi-cursor selections (cycles through selections if there are more than two).