fix find foces in terminal

This commit is contained in:
梁鸿 2020-05-18 16:48:41 +08:00
parent d6f5158346
commit 2fee843869
1 changed files with 5 additions and 5 deletions

View File

@ -152,12 +152,12 @@
{ {
"key": "cmd+n", "key": "cmd+n",
"command": "workbench.action.terminal.findNext", "command": "workbench.action.terminal.findNext",
"when": "terminalFocus || terminalFindWidgetFocused" "when": "terminalFindFocused || terminalFocus"
}, },
{ {
"key": "cmd+shift+n", "key": "cmd+shift+n",
"command": "workbench.action.terminal.findPrevious", "command": "workbench.action.terminal.findPrevious",
"when": "terminalFocus || terminalFindWidgetFocused" "when": "terminalFindFocused || terminalFocus"
}, },
{ {
"key": "cmd+t", "key": "cmd+t",
@ -270,7 +270,7 @@
{ {
"key": "cmd+shift+c", "key": "cmd+shift+c",
"command": "workbench.action.terminal.toggleFindCaseSensitive", "command": "workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFocus || terminalFindWidgetFocused" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+shift+c", "key": "cmd+shift+c",
@ -285,7 +285,7 @@
{ {
"key": "cmd+shift+d", "key": "cmd+shift+d",
"command": "workbench.action.terminal.toggleFindWholeWord", "command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFocus || terminalFindWidgetFocused" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+shift+d", "key": "cmd+shift+d",
@ -300,7 +300,7 @@
{ {
"key": "cmd+f", "key": "cmd+f",
"command": "workbench.action.terminal.focusFind", "command": "workbench.action.terminal.focusFind",
"when": "terminalFocus || terminalFindWidgetFocused" "when": "terminalFocus || terminalFindFocused"
}, },
{ {
"key": "cmd+shift+]", "key": "cmd+shift+]",