Created
May 3, 2017 16:55
-
-
Save aaronmcadam/8c5e02dffb874dba81960270e209a224 to your computer and use it in GitHub Desktop.
Example of mapping vim commands in vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"vim.leader": "<space>", | |
"vim.otherModesKeyBindingsNonRecursive": [ | |
{ | |
"before": [ | |
"<leader>", | |
"g", | |
"w" | |
], | |
"commands": [ | |
{ | |
"command": "workbench.action.files.save" | |
}, | |
{ | |
"command": "git.stageAll" | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"g", | |
"c" | |
], | |
"commands": [ | |
{ | |
"command": "git.commit" | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"g", | |
"p" | |
], | |
"commands": [ | |
{ | |
"command": "git.push" | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"t" | |
], | |
"commands": [ | |
{ | |
"command": "runCurrentTest.run" | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"u" | |
], | |
"commands": [ | |
{ | |
"command": "runCurrentTest.runAndUpdateSnapshots" | |
} | |
] | |
} | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment