Sublime Forum

Keyboard Command for Opening Selection in Find in Files?

#1

Hi there,

Is there a keyboard shortcut for opening the selection under your cursor in Find in Files?

Workflow:

  1. Open Find in Files
  2. Perform search
  3. Place cursor on line that I wanted to find
  4. Open file!

Right now I can do this by clicking it, but I use Vintage and prefer to stay as mouse-free as possible. Forgive me if I missed it, but a variety of Enter variations yielded no fruit. I also logged Sublime commands to see if I could spot what is called but that didn’t produce any leads.

Thanks!

0 Likes

#2

There’s no key bound to it by default, you will need to make a custom keybinding to execute the current_result command

0 Likes

#3

Thanks that worked! Not sure if there is a proper context, but this did indeed give me what I wanted

{
        "keys":
        [
            "shift+enter"
        ],
        "command": "current_result"
}
0 Likes