Sublime Forum

Auto switch from find pane to editor

#1

Coming from visual studio I am used to typing ctrl+f, my search phrase, enter and then be back in the editor with the cursor placed in front of the first match

However in sublime I have to press esc after enter to get back to the editor and then the cursor is placed at the end of the first match.

Is there any way to achieve the behavior I want ?

Thx!

0 Likes

#2

ctrl+i (incremental find)

You can map ctrl+f to the incremental find panel with this key binding:

{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} }
0 Likes

#3

thx FichteFoll !

That brings me back to the editor on presssing enter - great !

Is there any way to then have the cursor on the beginning of the match instead of the end ?

0 Likes

#4

Pressing the left arrow key moves you to the beginning of the selection.

0 Likes

#5

You can quickly switch editors using the Ctrl+E

0 Likes

#6

Yes, you can switch editors using Ctrl+E shortcut key.

0 Likes