Skip to content

Instantly share code, notes, and snippets.

@wolf-mtwo
Last active January 6, 2020 14:23
Show Gist options
  • Save wolf-mtwo/9ee6a5f6d1f786f32f4e325e000bc798 to your computer and use it in GitHub Desktop.
Save wolf-mtwo/9ee6a5f6d1f786f32f4e325e000bc798 to your computer and use it in GitHub Desktop.
Visual Studio Code - Shortcuts
Setting ->
[x] Detect Indentation
[2] Tabs Size
commit Hit Ctrl + Shift + Z (PC)
I configured the keybindings by opening the keybindings editor with "File"->"Preferences"->"Keyboard Shortcuts".
Then I double-clicked the "Stage Changes" command, and pressed CTRL+T followed by ENTER to assign it. Did the same for "Unstage Changes".
My keybindings.json file looks like this:
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+t",
"command": "git.stage"
},
{
"key": "ctrl+u",
"command": "git.unstage"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment