Want better keybinding parity between micro and Sublime Text?
Aubrey Portwood
Posted on January 13, 2023
I went through the key-bindings in Micro (which use different modifier keys) and added them to Sublime Text:
{ "keys": ["ctrl+s"], "command": "save", "args": { "async": true } },
{ "keys": ["alt+up"], "command": "swap_line_up" },
{ "keys": ["alt+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+left"], "command": "bol" },
{ "keys": ["ctrl+right"], "command": "eol" },
{ "keys": ["ctrl+o"], "command": "prompt_open" },
{ "keys": ["ctrl+z"], "command": "undo" },
{ "keys": ["ctrl+y"], "command": "redo" },
{ "keys": ["ctrl+c"], "command": "copy" },
{ "keys": ["ctrl+x"], "command": "cut" },
{ "keys": ["ctrl+d"], "command": "duplicate_line" },
{ "keys": ["ctrl+v"], "command": "paste" },
{ "keys": ["ctrl+a"], "command": "select_all" },
{ "keys": ["ctrl+b"], "command": "toggle_terminus_panel" },
{ "keys": ["ctrl+q"], "command": "close" },
{ "keys": ["ctrl+up"], "command": "move_to", "args": { "to": "bof" } },
{ "keys": ["ctrl+down"], "command": "move_to", "args": { "to": "eof" } },
{ "keys": ["alt+backspace"], "command": "delete_word", "args": { "forward": false, "sub_words": true } },
{ "keys": ["ctrl+f"], "command": "show_panel", "args": { "panel": "find", "reverse": false } },
{ "keys": ["alt+shift+f"], "command": "show_panel", "args": { "panel": "find_in_files" } },
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, // Hurts transpose, but never use.
{ "keys": ["ctrl+e"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
💖 💪 🙅 🚩
Aubrey Portwood
Posted on January 13, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.