Sublime Forum

[linux] newline when pressing enter in the search field

#1

On Windows it goes to the next match, which is more practical, and ctrl+enter (shift+enter would be better) makes a newline

I’d suggest doing the same on linux

0 Likes

#2

But it already does so (at least in ST3, build 3114):
Ctrl+F -> [search phrase]
Enter => go to next result
Shift + Enter => go to previous result
Ctrl + Enter => add a newline

This is controlled in Preferences -> Key Bindings (for me, lines 681-690):

// Find panel key bindings { "keys": ["enter"], "command": "find_next", "context": [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}] }, { "keys": ["shift+enter"], "command": "find_prev", "context": [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}] }, { "keys": ["alt+enter"], "command": "find_all", "args": {"close_panel": true}, "context": [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}] },

0 Likes