Sublime Text cheat sheet

From DiLab
Revision as of 16:17, 15 October 2014 by Leo (talk | contribs)
Jump to: navigation, search

Sublime Text editor is the magic any programmer needs. Here I keep a cache of shortcuts for a quick reference.

Task shortcut in Linux shortcut in OSX Comments
Move line up Ctrl + Shift + Up Cmd + Shift + Up Also works for Down
Split selection in multiple lines Ctrl + Shift + L Cmd + Shift + L
Select current word Ctrl + D
Multiple select: find the next word like the selected and add to the multiple cursors. Ctrl + D To skip the current word: Ctrl+k, Ctrl+D. To undo the last selection: Ctrl+U
Multiple select: find and select all words like the selected and add multiple cursors. Alt + F3
Multiple selection with Regexp Ctrl + F, <Select Regexp icon (.*)>, <type your regexp>, Alt + Enter Cmd + F, <Select Regexp icon (.*)>, <type your regexp>, Opt + F