I have been trying to map some of the basic terminal-style key bindings to sublime text,
e.g. C-f / C-b / C-n / C-p for navigation, C-h as backspace, and C-m as enter.
My attempts have been successful for most situations but for one: I could not
find the "confirm" (or equivalent) command to be bound to ctrl+m in command palette.
I tried calling
sublime.log_commands(True) in console to view the command
called with each keystroke. You will see that there is no direct command
associated with the enter keystroke, instead calling the specific command registered
in the command palette.
I use autohotkey to bind ctrl + m as enter as a temporary measure, but I really
wish to solve it within sublime text. Is it possible?