Go To - TwoGears/hakomo-guides GitHub Wiki
Go To Anything
Use Go To Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.
Type CMD + P
and type part of a file name to open it. Searches through open folders/projects.
Typing @
at the beginning allows you to jump to symbols (function names, variables, classes, etc.) in the currently open file.
Typing #
allows you to jump through words in the file.
Typing :
+ line number will take you to that line
You can combine the shortcuts, so typing foobar:120
may take you to the 120 line of the foobar file, or baz@maf
may take you the my_awesome_function
in the bashbaz file.
CMD + R
is shortcut for Jump to Symbol
CTRL + G
is shortcut for Jump to Line
Go To Anything for Settings
Type CMD + Shift + P
to open Command Palette (search/browse the settings of sublime)
Package Control
In the Command Palette type install
to find the command for installing plugins Package Control: Install Package
Permute Lines
These commands can be found under Edit -> Permute Lines
(except Sort) or by typing in the Command Palette
Permute Lines: Unique
: Removes all duplicated lines in the currently open file
Permute Lines: Reverse
: Reverses the order of the lines in the currently open file
Permute Lines: Shuffle
: Shuffles lines in the currently open file
Sort
: Sorts lines in the currently open file
Convert Case
To transform the selected text to upper, lower or capital case type convert case
and select the transform you want and hit enter.
Set syntax
Type set syntax
and choose from the language options to set the syntax of the currently open file
File operations
Type file
in the Command Palette, while there's an open folder or project, to reveal all file operations
Type file copy
and select File: Copy Name to quickly copy the name of the file