Advertisement
3v1n0

Untitled-1

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