Adds alt+left and alt+right keyboarding for quickpicks

This commit is contained in:
Eric Amodio
2017-03-01 01:17:15 -05:00
parent 1a244c6296
commit a98f400375
9 changed files with 184 additions and 36 deletions

View File

@@ -318,6 +318,16 @@
}
},
"commands": [
{
"command": "gitlens.key.left",
"title": "Left KeyPress",
"category": "GitLens:KeyPress"
},
{
"command": "gitlens.key.right",
"title": "Right KeyPress",
"category": "GitLens:KeyPress"
},
{
"command": "gitlens.diffWithPrevious",
"title": "Compare with Previous Commit",
@@ -400,6 +410,14 @@
],
"menus": {
"commandPalette": [
{
"command": "gitlens.key.left",
"when": "false"
},
{
"command": "gitlens.key.right",
"when": "false"
},
{
"command": "gitlens.diffWithPrevious",
"when": "gitlens:enabled"
@@ -567,6 +585,16 @@
]
},
"keybindings": [
{
"command": "gitlens.key.left",
"key": "alt+left",
"when": "gitlens:key"
},
{
"command": "gitlens.key.right",
"key": "alt+right",
"when": "gitlens:key"
},
{
"command": "gitlens.toggleBlame",
"key": "alt+b",