I have the keybinding, but in the new SublimeText 4, the search field of the find all(replace?) dialog will add a new line if I hit enter. (Mac, with as many windows key binds as I can, because Mac hotkeys are garbage.)
// Find panel key bindings
{ "keys": ["enter"], "command": "find_next", "context":
[{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}]
},
// Replace panel key bindings
{ "keys": ["enter"], "command": "find_next", "context":
[{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}]
},
In the Single file search, it works, but the multi-file search it adds a line feed.