Find in files -> but narrow to current file with hotkey Follow
I really like the preview that "Find in files" give when searching for something. And I would like to use the same functionality when searching in the current file, which is possible by changing the scope to the current file. But that's very cumbersome, so I wondered if it's possible to bind using the "Find in files" menu and automatically scope it to current file, to a single keybinding?
Please sign in to leave a comment.
Recording a macro and assigning a shortcut to it is the only option I can think of....