Sublime Forum

Keep Replace Function

#1

Hey,

I hope everyone is doing well. I wanted to ask if there is a setting available to keep the replace bar always active instead of it automatically hiding after use. Unfortunately, I couldn’t find any option to enable this feature.

Thank you for your assistance!

0 Likes

#2
"close_find_after_find_all": true,
"close_find_after_replace_all": true,

to teach key bindings respect those settings, create the following custom bindings …

	{
		"keys": ["alt+enter"],
		"command": "find_all", "args": {"close_panel": false},
		"context": [
			{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"},
			{"key": "setting.close_find_after_find_all", "operand": "false"}
		]
	},
	{
		"keys": ["ctrl+alt+enter"],
		"command": "replace_all", "args": {"close_panel": false},
		"context": [
			{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"},
			{"key": "setting.close_find_after_replace_all", "operand": "false"}
		 ]
	},
1 Like