Find/Replace panel in Sublime Text disappears after Replace All

This is tested only in Sublime Text 3, but should work in ST2 as well:

  1. Select Preferences > Key Bindings -- Default.

  2. Search for ctrl+alt+enter and copy entire block.

  3. Select Preferences > Key Bindings -- User.

  4. Paste copied block anywhere and remove , "args": {"close_panel": true} part from it.

  5. Save Key Bindings -- User and test it (you don't need to restart Sublime Text).

Since you have modified just the key binding, you should remember, that expected behavior will work only if you execute Ctrl+Alt+Enter inside search & replace panel.

If you click Replace All button, the "old" behavior will be applied -- i.e. panel will be closed.


On the latest version of sublime, these settings can be turned off as desired in your preferences.

// This determines whether the find panel is closed when the "Find All" // or "Replace All" buttons are pressed. Note this does not change the // keybinding behavior. "close_find_after_find_all": true, "close_find_after_replace_all": true,

simply go to Preferences->Settings and add this line in the right side window "close_find_after_replace_all": false,

enter image description here