Skip to content

Instantly share code, notes, and snippets.

@MarkZhangTW
Created May 22, 2020 05:31
Show Gist options
  • Save MarkZhangTW/5a0a2d94ae71ad3ef9b792f27c8a65ae to your computer and use it in GitHub Desktop.
Save MarkZhangTW/5a0a2d94ae71ad3ef9b792f27c8a65ae to your computer and use it in GitHub Desktop.
My VS Code keybindings
[
// Clear terminal history buffer
{ "key": "ctrl+l", "command": "workbench.action.terminal.clear", "when": "terminalFocus" },
// Change ctrl+m from toggle tab focus mode to send carrage return
{ "key": "ctrl+m", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\r"} },
// Change ctrl+f from find to send acknowledgement character
{ "key": "ctrl+f", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u0006"} },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment