Home > Software engineering >  How to disable Ctrl F search window at integrated terminal in Visual Studio Code?
How to disable Ctrl F search window at integrated terminal in Visual Studio Code?

Time:12-13

Do you know how to disable Search window showing up at integrated terminal in Visual Studio Code when "Ctrl-F" is pressed? With this, I am forced to press arrow button to use completion by fish shell.

Thank you

CodePudding user response:

In the Gear Icon/Keyboard Shortcuts page find the

Terminal: Focus Find command, right -click and choose Remove Keybinding

That will add the following keybinding to the end of your keybindings.json:

{
  "key": "ctrl f",
  "command": "-workbench.action.terminal.focusFind",
  "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},

and Ctrl F will no longer bring up the terminal find widget.

  • Related