3v1n0

Untitled-1

Feb 25th, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.06 KB | None | 0 0
  1. [
  2.     {
  3.         "key": "tab",
  4.         "command": "workbench.action.quickOpenSelectNext",
  5.         "when": "inQuickOpen"
  6.     },
  7.     {
  8.         "key": "shift+tab",
  9.         "command": "workbench.action.quickOpenSelectPrevious",
  10.         "when": "inQuickOpen"
  11.     },
  12.     {
  13.         "key": "up",
  14.         "command": "find.history.showPrevious",
  15.         "when": "editorFocus && findInputFocussed && findWidgetVisible"
  16.     },
  17.     {
  18.         "key": "up",
  19.         "command": "workbench.action.terminal.findWidget.history.showPrevious",
  20.         "when": "terminalFindWidgetInputFocused && terminalFindWidgetVisible"
  21.     },
  22.     {
  23.         "key": "down",
  24.         "command": "find.history.showNext",
  25.         "when": "editorFocus && findInputFocussed && findWidgetVisible"
  26.     },
  27.     {
  28.         "key": "down",
  29.         "command": "workbench.action.terminal.findWidget.history.showNext",
  30.         "when": "terminalFindWidgetInputFocused && terminalFindWidgetVisible"
  31.     },
  32.     {
  33.         "key": "ctrl+shift+w",
  34.         "command": "workbench.action.focusNextGroup"
  35.     },
  36.     {
  37.         "key": "ctrl+shift+q",
  38.         "command": "workbench.action.focusPreviousGroup"
  39.     },
  40.     /* alt+[shift]+hjkl implementation */
  41.     {
  42.         "key": "alt+h",
  43.         "command": "cursorLeft",
  44.         "when": "editorTextFocus"
  45.     },
  46.     {
  47.         "key": "alt+j",
  48.         "command": "cursorDown",
  49.         "when": "editorTextFocus"
  50.     },
  51.     {
  52.         "key": "alt+k",
  53.         "command": "cursorUp",
  54.         "when": "editorTextFocus"
  55.     },
  56.     {
  57.         "key": "alt+l",
  58.         "command": "cursorRight",
  59.         "when": "editorTextFocus"
  60.     },
  61.     {
  62.         "key": "alt+shift+h",
  63.         "command": "cursorLeftSelect",
  64.         "when": "editorTextFocus"
  65.     },
  66.     {
  67.         "command": "cursorDownSelect",
  68.         "key": "alt+shift+j",
  69.         "when": "editorTextFocus"
  70.     },
  71.     {
  72.         "key": "alt+shift+k",
  73.         "command": "cursorUpSelect",
  74.         "when": "editorTextFocus"
  75.     },
  76.     {
  77.         "key": "alt+shift+l",
  78.         "command": "cursorRightSelect",
  79.         "when": "editorTextFocus"
  80.     },
  81.     {
  82.         "key": "alt+b",
  83.         "command": "cursorWordStartLeft",
  84.         "when": "editorTextFocus"
  85.     },
  86.     {
  87.         "key": "alt+w",
  88.         "command": "cursorWordEndRight",
  89.         "when": "editorTextFocus"
  90.     },
  91.     {
  92.         "key": "alt+shift+b",
  93.         "command": "cursorWordStartLeftSelect",
  94.         "when": "editorTextFocus"
  95.     },
  96.     {
  97.         "key": "alt+shift+w",
  98.         "command": "cursorWordEndRightSelect",
  99.         "when": "editorTextFocus"
  100.     },
  101.     {
  102.         "key": "alt+u",
  103.         "command": "cursorPageUp",
  104.         "when": "editorTextFocus"
  105.     },
  106.     {
  107.         "key": "alt+n",
  108.         "command": "cursorPageDown",
  109.         "when": "editorTextFocus"
  110.     },
  111.     {
  112.         "key": "alt+shift+u",
  113.         "command": "cursorPageUpSelect",
  114.         "when": "editorTextFocus"
  115.     },
  116.     {
  117.         "key": "alt+shift+n",
  118.         "command": "cursorPageDownSelect",
  119.         "when": "editorTextFocus"
  120.     },
  121.     {
  122.         "key": "ctrl+shift+alt+k",
  123.         "command": "editor.action.moveLinesUpAction",
  124.         "when": "editorTextFocus"
  125.     },
  126.     {
  127.         "key": "ctrl+shift+alt+j",
  128.         "command": "editor.action.moveLinesDownAction",
  129.         "when": "editorTextFocus"
  130.     },
  131.     {
  132.         "key": "alt+j",
  133.         "command": "repl.action.historyNext",
  134.         "when": "editorTextFocus && inDebugRepl && onLastDebugReplLine"
  135.     },
  136.     {
  137.         "key": "alt+j",
  138.         "command": "settings.action.focusSettingsFile",
  139.         "when": "inSettingsSearch"
  140.     },
  141.     {
  142.         "key": "alt+j",
  143.         "command": "showNextParameterHint",
  144.         "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
  145.     },
  146.     {
  147.         "key": "alt+j",
  148.         "command": "selectNextSuggestion",
  149.         "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  150.     },
  151.     {
  152.         "key": "alt+j",
  153.         "command": "keybindings.editor.focusKeybindings",
  154.         "when": "inKeybindings && inKeybindingsSearch"
  155.     },
  156.     {
  157.         "key": "alt+j",
  158.         "command": "list.focusDown",
  159.         "when": "listFocus && !inputFocus"
  160.     },
  161.     {
  162.         "key": "alt+j",
  163.         "command": "search.focus.nextInputBox",
  164.         "when": "inputBoxFocus && searchViewletVisible"
  165.     },
  166.     {
  167.         "key": "alt+j",
  168.         "command": "workbench.action.interactivePlayground.arrowDown",
  169.         "when": "interactivePlaygroundFocus && !editorTextFocus"
  170.     },
  171.     {
  172.         "key": "alt+k",
  173.         "command": "repl.action.historyPrevious",
  174.         "when": "editorTextFocus && inDebugRepl && onFirsteDebugReplLine"
  175.     },
  176.     {
  177.         "key": "alt+k",
  178.         "command": "showPrevParameterHint",
  179.         "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
  180.     },
  181.     {
  182.         "key": "alt+k",
  183.         "command": "selectPrevSuggestion",
  184.         "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  185.     },
  186.     {
  187.         "key": "alt+k",
  188.         "command": "list.focusUp",
  189.         "when": "listFocus && !inputFocus"
  190.     },
  191.     {
  192.         "key": "alt+k",
  193.         "command": "search.action.focusSearchFromResults",
  194.         "when": "firstMatchFocus && searchViewletVisible"
  195.     },
  196.     {
  197.         "key": "alt+k",
  198.         "command": "search.focus.previousInputBox",
  199.         "when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
  200.     },
  201.     {
  202.         "key": "alt+k",
  203.         "command": "workbench.action.interactivePlayground.arrowUp",
  204.         "when": "interactivePlaygroundFocus && !editorTextFocus"
  205.     },
  206.     {
  207.         "key": "alt+k",
  208.         "command": "find.history.showPrevious",
  209.         "when": "editorFocus && findInputFocussed && findWidgetVisible"
  210.     },
  211.     {
  212.         "key": "alt+k",
  213.         "command": "workbench.action.terminal.findWidget.history.showPrevious",
  214.         "when": "terminalFindWidgetInputFocused && terminalFindWidgetVisible"
  215.     },
  216.     {
  217.         "key": "alt+j",
  218.         "command": "workbench.action.quickOpenSelectNext",
  219.         "when": "inQuickOpen"
  220.     },
  221.     {
  222.         "key": "alt+k",
  223.         "command": "workbench.action.quickOpenSelectPrevious",
  224.         "when": "inQuickOpen"
  225.     }
  226. ]
Advertisement
Add Comment
Please, Sign In to add comment