Sublime Forum

Autofill find/replace with current selection (osx)

#1

i’ve just migrated to osx, so bear with me.

on ubuntu when i hit ctrl+f or ctrl+h, the text i have currently selected will autofill in the find input.

this is not happening for me with osx.

see 15 second screencast:
screencast.com/t/eBom3p7N

any tips on how to fix this?

thanks,
sean

0 Likes

#2

From the settings:

// If true, the selected text will be copied into the find panel when it's
// shown.
// On OS X, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"find_selected_text": true,
0 Likes

#3

thanks!

:sunglasses:

sean

0 Likes

#4

In OS X, cmd+e does this by default (in all programs, not just Sublime Text). So normally you hit cmd+e to set the selected text as the find string, then cmd+g to find the next occurrence.
The find string is also shared between programs so you can, say, hit cmd+e in Sublime Text and then cmd+g in your documentation to find the next occurrence.

0 Likes