Sublime Text 3:
WHY?
Fast
Settings configuration in json
multiple cursors
Command palet to avoid mouse
Well documented for plugin creation
Installation and base settings:
Download & install package manager
Json settings user ⌘ ,
Difference from sublime text 2, settings default is saved in a different location
important settings
ensure_newline_at_eof_on_save
draw_white_space
folder_exclude_patterns
highlight_line
highlight_modified_tabs
tab_size!
translate_tabs_to_spaces
trim_trailing_white_space_on_save
Basics:
shift + cmd + P
= Bring up the command palet
syntax setting and changing
Opening sublime from terminal:
sudo ln -s "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" /usr/bin/subl
subl .
great in combination with xiki
package manager basics:
install package
remove package
list packages‘
disable package
enable package
Multiple Cursors and Incremental Search:
cmd + D
select word, multiple times for next occurences
ctrl + cmd + G
To select all occurences
alt + selecting
collumm selection
cmd + F
find then alt + enter
shift + ctrl + UP
or shift + ctrl + DOWN
select multiple cursors
cmd + L
select line
cmd + J
join lines
Goto:
cmd + P
Goto file (search files by fuzzy searching)
cmd + R
Goto symbol
(search functions, headings, css selectors by fuzzy searching)
cmd + alt + ↓
Goto Definition
(search same function in other files)
Split windows, moving files and moving cursor:
- Install sidebar enhancements
Emmet:
ul>li*4
.container>.header+.footer+.sectionextra
ul>li*3>a
ul>li*3>a[href=#]{somelink}
html
ctrl + D
Match pair outward
ctrl + shift + T
Goto matching pair
cmd + '
Remove tag
ctrl + ↑
Increment by 1
ctrl + ↓
Decrement by 1
alt + ↑
Increment by 0.1
alt + ↓
Decrement by 0.1
cmd + alt + ↑
Increment by 10
cmd + alt + ↓
Decrement by 10
Fetching files:
Instantly fetching packages and or scripts from github or from the web
Advanced new file and file manipulations:
cmd + :, cmd + N
Advanced new file
cmd + :, cmd + M
Advanced move file
cmd + :, cmd + R
Advanced remove file
cmd + shift + P
Type File
Gists:
Managing code snippets with gist gist.github.com
Create open or update your gists or your organizations its gists
cmd + K, cmd + O
Open
cmd + K, cmd + I
Insert
cmd + K, cmd + S
Save
BracketHighlighter:
Http Requester:
Quick http requests from sublime TEXT cmd + alt + R
on selected url text
http://www.doctorswithoutborders.org/
Insert Nums:
cmd + alt + N
Sequence numbers or letters
Dash integration:
ctrl + H
Quikly Look for and find in official offline documentation
Thanks!