Skip to content

Instantly share code, notes, and snippets.

@LolWalid
Last active December 10, 2015 10:18
Show Gist options
  • Save LolWalid/f8cac81a3c150dd6a32d to your computer and use it in GitHub Desktop.
Save LolWalid/f8cac81a3c150dd6a32d to your computer and use it in GitHub Desktop.

Sublime hidden Shortcut, macro

All shortcuts

You can find all shortcut in Preferences -> Key bindings - Default

Usefull shortcut

super+k, super+b -> Toggle side bar

super+k, super+v -> Get more paste

super+alt+n -> Split screen vertically in n layouts (n = 1..4)

super+alt+shift+n -> Split screen horizontaly in n layouts (n = 1..3)

super+alt+5 -> Split screen into 4 squares

Create custom shortcut

Preferences -> Key bindings - User

  {"keys": ["super+shift+n"], "command": "new_window" }

Macro

New Macro

ctrl+q -> Start register macro

ctrl+q -> Stop register macro

ctrl+shift+q -> Use macro

Save Macro

Tools -> Save macro

Create custom shortcut

Preferences -> Key bindings - User

[
  { "keys": ["ctrl+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Users/macro_name.sublime-macro"} },
  ...,
  ...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment