Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. [
  2. {
  3. "key": "alt+left",
  4. "command": "workbench.action.navigateBack"
  5. },
  6. {
  7. "key": "alt+right",
  8. "command": "workbench.action.navigateForward"
  9. },
  10. {
  11. "key": "ctrl+shift+[",
  12. "command": "workbench.action.focusActiveEditorGroup",
  13. "when": "terminalFocus"
  14. },
  15. {
  16. "key": "ctrl+shift+[",
  17. "command": "workbench.action.terminal.focus",
  18. "when": "!terminalFocus"
  19. },
  20. {
  21. "key": "ctrl+t",
  22. "command": "workbench.action.quickOpen"
  23. },
  24. {
  25. "key": "ctrl+p",
  26. "command": "-workbench.action.quickOpen"
  27. },
  28. {
  29. "key": "ctrl+shift+[",
  30. "command": "-editor.fold",
  31. "when": "editorTextFocus"
  32. }
  33. ]
  34.  
  35. // Mac keybindings
  36. [
  37. {
  38. "key": "cmd+left",
  39. "command": "workbench.action.navigateBack"
  40. },
  41. {
  42. "key": "ctrl+-",
  43. "command": "-workbench.action.navigateBack"
  44. },
  45. {
  46. "key": "cmd+right",
  47. "command": "workbench.action.navigateForward"
  48. },
  49. {
  50. "key": "ctrl+shift+-",
  51. "command": "-workbench.action.navigateForward"
  52. },
  53. {
  54. "key": "f2",
  55. "command": "renameFile",
  56. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  57. },
  58. {
  59. "key": "enter",
  60. "command": "-renameFile",
  61. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  62. },
  63. {
  64. "key": "shift+cmd+i",
  65. "command": "editor.action.reindentlines"
  66. },
  67. {
  68. "key": "cmd+y",
  69. "command": "redo",
  70. "when": "textInputFocus && !editorReadonly"
  71. },
  72. {
  73. "key": "shift+cmd+z",
  74. "command": "-redo",
  75. "when": "textInputFocus && !editorReadonly"
  76. },
  77. { "key": "enter",
  78. "command": "list.select",
  79. "when": "explorerViewletVisible && filesExplorerFocus"
  80. },
  81. { "key": "cmd+down",
  82. "command": "-list.select",
  83. "when": "explorerViewletVisible && filesExplorerFocus"
  84. },
  85. {
  86. "key": "ctrl+f2",
  87. "command": "editor.action.selectHighlights",
  88. "when": "editorFocus"
  89. },
  90. {
  91. "key": "shift+cmd+l",
  92. "command": "-editor.action.selectHighlights",
  93. "when": "editorFocus"
  94. },
  95. {
  96. "key": "shift+cmd+s",
  97. "command": "workbench.action.files.saveAll"
  98. },
  99. {
  100. "key": "alt+cmd+s",
  101. "command": "-workbench.action.files.saveAll"
  102. }
  103. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement