Sublime Text: Difference between revisions

From Wiki
Jump to navigation Jump to search
Line 12: Line 12:
* Ctrl-I
* Ctrl-I


=== Go To Method (Code Outline) ===
=== Go to Anything ===
* Ctrl-R to show code outline, type to fuzzy-search
* Go to File (in project): Ctrl-P, type to fuzzy-search
 
* Go to Method (Code Outline): Ctrl-R to show code outline, type to fuzzy-search
=== Go to File (in project) ===
* Go to Method in file: Ctrl-P, search for file, type "@", then search for method
* Ctrl-P, type to fuzzy-search


== Selecting ==
== Selecting ==

Revision as of 00:32, 25 February 2014

http://www.sublimetext.com/docs/3/index.html

Moving around

Moving the cursor

  • to beginning/end of current word: Ctrl-left/Ctrl-right

Moving the view

  • up/down: Ctrl-up/Ctrl-down

Incremental Search

  • Ctrl-I

Go to Anything

  • Go to File (in project): Ctrl-P, type to fuzzy-search
  • Go to Method (Code Outline): Ctrl-R to show code outline, type to fuzzy-search
  • Go to Method in file: Ctrl-P, search for file, type "@", then search for method

Selecting

Column Select

  • Shift + right-click + drag

Select instances of a word (multiple cursors)

  • Ctrl-D to select current and next instances of word
  • Ctrl-U to undo last
  • Alt+F3 to select all occurrences


Tools

  • Command Pallette: Ctrl+Shift+P, type to fuzzy-search