Sublime Forum

Automatically slurp selected text when finding

#1

Sorry if this is a dupe, but I’ve searched around for a bit and I haven’t found if/how I can get Sublime Text in OSX to automatically search for the selected text when doing CMD-F or SHIFT-CMD-F. My text editor muscle memory comes from Windows, and it’s non-trivial for me to do CMD-E every time I want to search for selected text. What’s worse is that “close tab” is just a key away, at CMD-W. Is there a canonical way to combine the slurp-to-find-buffer and find-text commands into a single key binding?

0 Likes

#2

You can put "find_selected_text": true in your user preferences file to get that behavior on OS X too.

0 Likes

#3

Thanks. You’ve single-handedly eliminated the primary dealbreaker I had with Sublime Text.

insert animated GIF of my mind being COMPLETELY BLOWN ]

0 Likes

#4

@blamblamblam: i think this is what you are looking for

0 Likes