Skip to content

Instantly share code, notes, and snippets.

@mariapacana
Last active December 24, 2015 13:59
Show Gist options
  • Save mariapacana/6809543 to your computer and use it in GitHub Desktop.
Save mariapacana/6809543 to your computer and use it in GitHub Desktop.
Sublime shortcuts

Linux

  • Control + Shift + P + rein -- reindent lines
  • Control + D -- select word
  • Control + U -- unselect word
  • Control + O -- open file
  • Control + W -- close tab
  • Control + KK -- delete to the end of line
  • Control + X -- cut entire line (or you can use this to delete)
  • Shift + Alt + (any number) -- split the window into that many panes (1 works, too)
  • Control + Shift + [Group #] -- move file to group
  • Control + [Group #] -- switch to [Group #]
  • Control + Tab -- cycle between tabs
  • Control + (tab number) -- switch to (tab number)
  • Control + Shift + F -- find in files
  • Control + / -- comment all highlighted lines

Mac OS

  • Command + Shift + P + rein -- reindent lines
  • Command + D -- select word
  • ⌃ + U -- unselect word
  • Command + P -- open file
  • Command + W -- close tab
  • Command + KK -- delete to the end of line
  • Command + X -- cut entire line (or you can use this to delete)
  • Command + Option + (any number) -- split the window into that many panes (1 works, too)
  • Control? + Shift + [Group #] -- move file to group
  • Control? + [Group #] -- switch to [Group #]
  • Command + Alt + Left/Right -- cycle between tabs
  • Command + (tab number) -- switch to (tab number)
  • Command + K + B -- toggle the side bar hidden / showed
  • Command + Shift + F -- find in files
  • Command + / -- comment all highlighted lines

http://docs.sublimetext.info/en/latest/reference/keyboard_shortcuts_osx.html

@feinomenon
Copy link

Ctrl+D can be used repeatedly to keep selecting the next instance of the word (in addition to the previously-selected ones). Also, Alt+F3 in Linux/Windows selects all instances of a word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment