Skip to content

Commit 653a863

Browse files
Greg Van LiewGreg Van Liew
Greg Van Liew
authored and
Greg Van Liew
committedSep 30, 2016
Update 1.6 mac key bindings
1 parent d5cec5b commit 653a863

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed
 

‎scripts/keybindings/doc.keybindings.osx.json

+24-2
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@
141141
{ "key": "enter", "command": "repl.action.acceptInput",
142142
"when": "editorTextFocus && inDebugRepl" },
143143
{ "key": "down", "command": "repl.action.historyNext",
144-
"when": "editorTextFocus && onLastDebugReplLine" },
144+
"when": "editorTextFocus && inDebugRepl && onLastDebugReplLine" },
145145
{ "key": "up", "command": "repl.action.historyPrevious",
146-
"when": "editorTextFocus && onFirsteDebugReplLine" },
146+
"when": "editorTextFocus && inDebugRepl && onFirsteDebugReplLine" },
147147
{ "key": "cmd+e", "command": "actions.find" },
148148
{ "key": "cmd+f", "command": "actions.find" },
149149
{ "key": "cmd+k cmd+c", "command": "editor.action.addCommentLine",
@@ -290,6 +290,10 @@
290290
"when": "editorFocus && findWidgetVisible" },
291291
{ "key": "alt+enter", "command": "editor.action.selectAllMatches",
292292
"when": "editorFocus && findWidgetVisible" },
293+
{ "key": "alt+down", "command": "find.history.showNext",
294+
"when": "editorFocus && findInputFocussed && findWidgetVisible" },
295+
{ "key": "alt+up", "command": "find.history.showPrevious",
296+
"when": "editorFocus && findInputFocussed && findWidgetVisible" },
293297
{ "key": "alt+cmd+c", "command": "toggleFindCaseSensitive",
294298
"when": "editorFocus" },
295299
{ "key": "alt+cmd+r", "command": "toggleFindRegex",
@@ -396,7 +400,21 @@
396400
"when": "accessibilityHelpWidgetVisible && editorFocus" },
397401
{ "key": "alt+cmd+enter", "command": "search.action.replaceAll",
398402
"when": "replaceActive && searchViewletVisible && !findWidgetVisible" },
403+
{ "key": "down", "command": "search.focus.nextInputBox",
404+
"when": "inputBoxFocus && searchViewletVisible" },
405+
{ "key": "up", "command": "search.focus.previousInputbox",
406+
"when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" },
407+
{ "key": "alt+down", "command": "search.history.showNext",
408+
"when": "searchInputBoxFocus && searchViewletVisible" },
409+
{ "key": "alt+up", "command": "search.history.showPrevious",
410+
"when": "searchInputBoxFocus && searchViewletVisible" },
399411
{ "key": "shift+cmd+r", "command": "toggleExperimentalScreenReaderSupport" },
412+
{ "key": "alt+cmd+c", "command": "toggleSearchCaseSensitive",
413+
"when": "searchInputBoxFocus && searchViewletVisible" },
414+
{ "key": "alt+cmd+r", "command": "toggleSearchRegex",
415+
"when": "searchInputBoxFocus && searchViewletVisible" },
416+
{ "key": "alt+cmd+w", "command": "toggleSearchWholeWord",
417+
"when": "searchInputBoxFocus && searchViewletVisible" },
400418
{ "key": "cmd+w", "command": "workbench.action.closeActiveEditor" },
401419
{ "key": "cmd+k cmd+w", "command": "workbench.action.closeAllEditors" },
402420
{ "key": "cmd+k w", "command": "workbench.action.closeEditorsInGroup" },
@@ -492,8 +510,12 @@
492510
"when": "!terminalFocus" },
493511
{ "key": "cmd+down", "command": "workbench.action.terminal.scrollDown",
494512
"when": "terminalFocus" },
513+
{ "key": "pagedown", "command": "workbench.action.terminal.scrollDownPage",
514+
"when": "terminalFocus" },
495515
{ "key": "cmd+up", "command": "workbench.action.terminal.scrollUp",
496516
"when": "terminalFocus" },
517+
{ "key": "pageup", "command": "workbench.action.terminal.scrollUpPage",
518+
"when": "terminalFocus" },
497519
{ "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal" },
498520
{ "key": "ctrl+cmd+f", "command": "workbench.action.toggleFullScreen" },
499521
{ "key": "cmd+j", "command": "workbench.action.togglePanel" },

0 commit comments

Comments
 (0)