Sublime Forum

How to set always wrap find result (continue to first match)?

#1

When using ctrl-f find, the “wrap” option is disabled by default. How to set it be always enabled?
I know it can be enabled by tick the wrap icon, but it will be disabled when I reopen the ST.
I have searched relevant result but they didn’t help.

0 Likes

#2

Do you have "hot_exit" disabled?

0 Likes

#3

Yeah, I disabled hot_exit.

0 Likes

#4

Fresh windows have a fresh find state, as such “wrap” will always be disabled when starting fresh from a non-hot exit.

0 Likes

#5

So, can I config the setting to enable “always wrap in find” ?
Maybe it is a feature request.

0 Likes

#6

There is no such config and no other way to change the default currently.

0 Likes

#7

You could add a user keybinding which supplies a constant value for Wrap rather than relying on state:

{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false, "wrap": true} },
2 Likes

#8

Thanks! That’s what I need.

0 Likes