Sublime Forum

Disable Highlight Matches by default in Search panel

#1

How to disable “Highlight Matches” option in Search panel by default. So when I open Search panel I don’t have to click on it.

Capture

0 Likes

#2

Once disabled, state should be stored in session and be disabled next time find panel is opened.

To force a certain state of toggle buttons, find panel can be opened with arguments via custom key binding.

Add the following to your custom user key bindings and leave only arguments you want to force.

	{
		"keys": ["ctrl+f"],
		"command": "show_panel",
		"args": {
			"panel": "find",
			"case_sensitive": false,
			"highlight":false,
			"in_selection": true,
			"regex": true,
			"reverse": false,
			"whole_word": true,
			"wrap": false,
		}
	},

1 Like