Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a shortcut to hide the find widget in VS Code?

You can open the find in page widget by pressing CTRL + F, but pressing it again only focuses it.

I really dislike having to use my mouse to get rid of the find widget as it blocks out some of the code.

Anyone know how to use a shortcut to hide the find widget?

Find Widget

like image 435
Levi Fuller Avatar asked Sep 14 '25 10:09

Levi Fuller


2 Answers

You can make it toggle by Ctrl+F. Just add this to keybindings.json

{
    "key": "ctrl+f",
    "command": "closeFindWidget",
    "when": "editorFocus && findWidgetVisible"
}
like image 98
Alex Avatar answered Sep 17 '25 03:09

Alex


Does the ESC key work for this?

like image 40
Moho Avatar answered Sep 17 '25 03:09

Moho