Sublime Text

Revision as of 06:08, 3 July 2016 by Mhan (talk | contribs) (→‎editing: add comment shortcuts)

I'm currently using Sublime Text 3.

keyboard shortcuts

navigation

  • Indent current line to right: Ctrl + ]
  • Unindent current line to left: Ctrl + [

editing

  • Move current line up: Ctrl + Shift + Up Arrow
  • Move current line down: Ctrl + Shift + Down Arrow
  • Select current line: Ctrl + L
  • Block comment (/* .. */) current selection: Ctrl + Shift + /
  • Comment/uncomment (//) current line: Ctrl + /

folding

  • Fold highlighted text: Ctrl + Shift + [
  • Unfold all: Ctrl + K, Ctrl + J