Skip to content

Commit

Permalink
add secondary keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
k--kato committed Mar 3, 2017
1 parent 30bece8 commit 1da27c0
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 0.2.10 (March 3, 2017)

* enhancement - Navigate Backward. See [#63](https://github.com/k--kato/vscode-intellij-idea-keybindings/issues/63).

* enhancement - Add secondary keymaps.

## 0.2.9 (February 25, 2017)

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ctrl+alt+i | ctrl+alt+i | Auto-indent line(s) | N/A
tab | tab | Indent selected lines | N/A
shift+tab | shift+tab | Unindent selected lines | N/A
ctrl+x | cmd+x | Cut current line or selected block to clipboard | ✅
shift+delete | cmd+delete | Cut current line or selected block to clipboard | ✅
ctrl+c | cmd+c | Copy current line or selected block to clipboard | ✅
ctrl+v | cmd+v | Paste from clipboard | ✅
ctrl+shift+v | cmd+shift+v | Paste from recent buffers... | N/A
Expand Down Expand Up @@ -121,7 +122,9 @@ ctrl+n | cmd+o | Go to class | ✅
ctrl+shift+n | cmd+shift+o | Go to file | ✅
ctrl+alt+shift+n | cmd+alt+o | Go to symbol | ✅
alt+left | ctrl+left | Go to previous editor tab | ✅
| shift+cmd+[ | Go to previous editor tab | ✅
alt+right | ctrl+right | Go to next editor tab | ✅
| shift+cmd+] | Go to next editor tab | ✅
f12 | f12 | Go back to previous tool window | N/A
escape | escape | Go to editor (from tool window) | N/A
shift+escape | shift+escape | Hide active or last active window (Sidebar) | ✅
Expand All @@ -142,6 +145,7 @@ alt+f1 | alt+f1 | Select current file or symbol in any view | N/A
ctrl+b | cmd+b | Go to declaration | ✅
ctrl+alt+b | cmd+alt+b | Go to implementation(s) | N/A
ctrl+shift+i | alt+space | Open quick definition lookup | ✅
| cmd+y | Open quick definition lookup | ✅
ctrl+shift+b | ctrl+shift+b | Go to type declaration | ✅
ctrl+u | cmd+u | Go to super-method/super-class | N/A
alt+up | ctrl+up | Go to previous method | N/A
Expand Down
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,13 @@
"when": "editorTextFocus && !editorReadonly",
"intellij": "Cut current line or selected block to clipboard"
},
{
"key": "shift+delete",
"mac": "cmd+delete",
"command": "editor.action.clipboardCutAction",
"when": "editorTextFocus && !editorReadonly",
"intellij": "Cut current line or selected block to clipboard"
},
{
"key": "ctrl+c",
"mac": "cmd+c",
Expand Down Expand Up @@ -715,12 +722,24 @@
"command": "workbench.action.previousEditor",
"intellij": "Go to previous editor tab"
},
{
"key": "",
"mac": "shift+cmd+[",
"command": "workbench.action.previousEditor",
"intellij": "Go to previous editor tab"
},
{
"key": "alt+right",
"mac": "ctrl+right",
"command": "workbench.action.nextEditor",
"intellij": "Go to next editor tab"
},
{
"key": "",
"mac": "shift+cmd+]",
"command": "workbench.action.nextEditor",
"intellij": "Go to next editor tab"
},



Expand Down Expand Up @@ -874,6 +893,13 @@
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor",
"intellij": "Open quick definition lookup"
},
{
"key": "",
"mac": "cmd+y",
"command": "editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor",
"intellij": "Open quick definition lookup"
},



Expand Down
26 changes: 26 additions & 0 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,13 @@
"when": "editorTextFocus && !editorReadonly",
"intellij": "Cut current line or selected block to clipboard"
},
{
"key": "shift+delete",
"mac": "cmd+delete",
"command": "editor.action.clipboardCutAction",
"when": "editorTextFocus && !editorReadonly",
"intellij": "Cut current line or selected block to clipboard"
},
{
"key": "ctrl+c",
"mac": "cmd+c",
Expand Down Expand Up @@ -715,12 +722,24 @@
"command": "workbench.action.previousEditor",
"intellij": "Go to previous editor tab"
},
{
"key": "",
"mac": "shift+cmd+[",
"command": "workbench.action.previousEditor",
"intellij": "Go to previous editor tab"
},
{
"key": "alt+right",
"mac": "ctrl+right",
"command": "workbench.action.nextEditor",
"intellij": "Go to next editor tab"
},
{
"key": "",
"mac": "shift+cmd+]",
"command": "workbench.action.nextEditor",
"intellij": "Go to next editor tab"
},
/*
{
"key": "f12",
Expand Down Expand Up @@ -874,6 +893,13 @@
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor",
"intellij": "Open quick definition lookup"
},
{
"key": "",
"mac": "cmd+y",
"command": "editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor",
"intellij": "Open quick definition lookup"
},
/*
{
"key": "ctrl+shift+b",
Expand Down

0 comments on commit 1da27c0

Please sign in to comment.