Skip to content

Commit

Permalink
Adding command/task to launch commit message task
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Apr 30, 2020
1 parent 8750d35 commit 4a2debe
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .vscode/tasks.json
@@ -0,0 +1,13 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "write-git-commit-message",
"type": "shell",
"command": "git commit",
"problemMatcher": []
}
]
}
13 changes: 13 additions & 0 deletions vscode/keybindings.json
@@ -0,0 +1,13 @@
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+/",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+c",
"command": "workbench.action.tasks.runTask",
"args": "write-git-commit-message"
}
]
3 changes: 2 additions & 1 deletion vscode/settings.json
Expand Up @@ -84,7 +84,8 @@
"[git-commit]": {
"editor.rulers": [
72,
50
50,
120
],
"editor.wordWrap": "off"
},
Expand Down

0 comments on commit 4a2debe

Please sign in to comment.