Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Time saving Tips for Sublime Text
1. Time saving tips for
Sublime Text
Sudip Kafle
CTO and Cofounder
Phunka Technologies
2. “Know the true value of time; snatch,
seize, and enjoy every moment of it. No
idleness, no delay, no procrastination;
never put off till tomorrow what you can
do today” - Earl of Chesterfield
3. Launching sublime Text from
Terminal
1. Instead of using sublime-text-2 create better
alias.
○ # alias subl="sublime-text-2 &"
○ # subl
2. Opening folder from Terminal
○ # subl . &
4. Multiple Cursors / Incremental
search
1. Place Multiple Cursors
○ CTRL + click - Places new cursor at the location
○ CTRL + D - Select the next instance of the word and
place cursor
○ ALT + F3 - Select all instances of the word and place
cursor
2. Better Replacement for CTRL + F and CTRL
+ H
○ CTRL + I - Makes faster replacing
3. Column Select
○ CTRL + SHIFT + RIGHT Click
5. More commands
1. Delete Line : CTRL+X
2. For UpperCase - Ctrl + K, Ctrl + U
3. For Lowercase - ....
WTF???????
Better Option (Command Pallete)
1. SHIFT + CTRL + P - Opens command
Pallete
a. Features Fuzzy searching
b. Entire Menu Bar commands available
6. Better Searching
1. CTRL + P - Search For files
a. : Goto A particular line (CTRL + G)
b. @ Find particular module (CTRL+R)
c. # Goto particular word (CTRL+;)
views.py@create_user
views.py:123
7. Package Control
1. A very Powerful tool to download packages
a. Goto http://wbond.net/sublime_packages/package_control
b. Open Sublime Command Palette CTRL+ ~ and paste
2. Try some of the packages yourself
a. PEP8 lint.
8. Snippets
1. Automatically create structure of some
statements
a. Particularly useful in languages you are less familiar
with.
b. Try creating a function for JavaScript
2. You can also create your own snippets.
a. Try it yourself (Available on Video Tutorial)
9. Emmet Coding
1. Package named Emmet in Sublime
2. Great package for HTML and CSS users
3. e.g. div.main press Tab
4. Explore it yourself
Other plugins ->Advanced new file
Super+Alt+n / ctrl+alt+n