Sublime Forum

Enable auto_find_in_selection for a single line of highlight

#1

Hello all, first time to the forum so please forgive me if it’s already been asked but I couldn’t find it…

I would like to enable auto_find_in_selection: true - except it only works when I have multiple lines of text highlighted. Is there a way I could enable this for when I have a single line highlighted?

0 Likes

#2

There is no way that I know of.

However, I defined this key binding to toggle find_in_selection state (like regex search) and it works nicely:

[code] // toggle dinf in selection in find panel
{ “keys”: “alt+s”], “command”: “toggle_in_selection”, “context”:

  { "key": "setting.is_widget", "operator": "equal", "operand": true }
]

},[/code]

0 Likes