Advertisement
3v1n0

Untitled-1

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