Sublime Text Keyboard Shortcuts Cheat Sheet (Win, OS X and Linux)

List of common keyboard shortcuts for Sublime Text editor. Tested in Windows, OS X and Linux.

Bold: different from windows shortcut
Red: custom code
 
Found a mistake? Want to add something? Post in the comments below.
 

System and Files

Windows OS X Linux
Open File Ctrl + O Command + O Ctrl + O
Save File Ctrl + S Command + S Ctrl + S
Close File Ctrl + W Command + W Ctrl + W
Open recently closed file Ctrl + Shift + T Command + Shift + T Ctrl + Shift + T
Toggle sidebar Ctrl + K B Command + K B Ctrl + K B
Switch project Ctrl + Alt + P Command + Ctrl + P Ctrl + Alt + P
Font size Ctrl + +/- Command + +/- Ctrl + +/-
Command pallette Ctrl + Shift + P Command + Shift + P Ctrl + Shift + P
Toggle console (custom code see below) Ctrl + Alt + C Ctrl + ` Ctrl + Alt + C
Fullscreen F11 Command + Ctrl + F F11
Distraction free fullscreen Shift + F11 Command + Ctrl + Shift + F Shift + F11
Change tab Alt + Number Command + Number Alt + Number
Navigate Through Tabs Ctrl + PageUp/Down Command + Alt + Left/Right Ctrl + PageUp/Down
Show autocomplete suggestions (custom code see below) Ctrl + Space Ctrl + Space Ctrl + Space

 

Layout

Windows OS X Linux
Select column layouts Alt + Shift + (1-4) Command + Alt + (1-4) Alt + Shift + (1-4)
Select 4 grid layout Alt + Shift + 5 Command + Alt + 5 Alt + Shift + 5
Select two or three row layouts Alt + Shift + (8,9) Command + Alt + Shift + (2,3) Alt + Shift + (8,9)
Move to panel Ctrl + Number Ctrl + Number Ctrl + Number
Move file to panel Ctrl + Shift + Number Ctrl + Shift + Number Ctrl + Shift + Number

 

Finding Things

Windows OS X Linux
Find Ctrl + F Command + F Ctrl + F
Find in files Ctrl + Shift + F Command + Shift + F Ctrl + Shift + F
Find and replace Ctrl + H Command + Alt + F Ctrl + H
Incremental search Ctrl + I Command + I Ctrl + I
Navigate through the search panel Tab Tab Tab
Close search Escape Escape Escape
Goto anything Ctrl + P Command + P Ctrl + P
Goto line number Ctrl + G Ctrl + G Ctrl + G
Goto symbol Ctrl + R Command + R Ctrl + R
Go to word  Ctrl + P + write # Command + P + write #  Ctrl + P + write #
       
Find next Enter (Or F3) Enter Enter (Or F3)
Find previous Shift + Enter (Or F3) Shift + Enter Shift + Enter (Or F3)
Find all Alt + F3 Ctrl + Command + G Alt + F3

 

Selections / Moving Around

Windows OS X Linux
Jump words / characters Ctrl + Left/Right Ctrl + Left/Right Ctrl + Left/Right
Moving around and selecting Ctrl + Shift + Left/Right Ctrl + Shift + Left/Right Ctrl + Shift + Left/Right
Add next occurence to selection Ctrl + D Command + D Ctrl + D
Add scope to selection Ctrl + Shift + Space Command +Shift + Space Ctrl + Shift + Space
Add all occurences to selection Alt + F3 Ctrl + Command + G
 
Alt + F3
Select contents inside parenthesis Ctrl + Shift + M Ctrl + Shift + M Ctrl + Shift + M
Expand selection to indentation Ctrl + Shift + J Command + Shift + J Ctrl + Shift + J
Expand selection to Tag Ctrl + Shift + A Command + Shift + A Ctrl + Shift + A
Go to closing / opening parenthesis Ctrl + M Ctrl + M Ctrl + M
Back to single selection Escape Escape Escape
Scroll to selection Ctrl + K, Ctrl + C Command + K, Command + C Ctrl + K, Ctrl + C
       
Draw selection with mouse Middle Mouse Button Middle Mouse Button Right Mouse Button + Shift
Add to mouse selection Ctrl Command Ctrl
Subtract from mouse selection Alt Command + Shift Alt

 

Multiple Cursors

Windows OS X Linux
Split selection into lines Ctrl + Shift + L Command + Shift + L Ctrl + Shift + L
Add new cursor Ctrl + Alt + Up/Down Ctrl + Shift + Up/Down Alt + Shift + Up/Down
Single cursor Escape Escape Escape

 

Editing

Windows OS X Linux
Copy line / selection Ctrl + C Command + C Ctrl + C
Cut line / selection Ctrl + X Command + X Ctrl + X
Paste Ctrl + V Command + V Ctrl + V
Paste with indentation Ctrl + Shift + V Command + Shift + V Ctrl + Shift + V
Delete line Ctrl + Shift + K Ctrl + Shift + K Ctrl + Shift + K
Delete from cursor to end of line Ctrl + K K Command + K K Ctrl + K K
Delete from cursor to beginning of line Ctrl + K Backspace Command + K Backspace Ctrl + K Backspace
Duplicate line / selection Ctrl + Shift + D Command + Shift + D Ctrl + Shift + D
Select line Ctrl + L Command + L Ctrl + L
Move line up/down Ctrl + Shift + Up/Down Command + Ctrl + Up/Down Ctrl + Shift + Up/Down
Insert line after Ctrl + Enter Command + Enter Ctrl + Enter
Insert line before Ctrl + Shift + Enter Command + Shift + Return Ctrl + Shift + Enter
Join next line end of the current line Ctrl + J Command + J Ctrl + J
Transpose (swap place of characters/words) Ctrl + T Ctrl + T Ctrl + T
Uppercase Ctrl + K, Ctrl + U Command + K, Command + U Ctrl + K, Ctrl + U
Lowercase Ctrl + K, Ctrl + L Command + K, Command + L Ctrl + K, Ctrl + L
Indent line(s) (custom code see below) Ctrl + 9 Command + ] Ctrl + 9
Unindent line(s) (custom code see below) Ctrl + 8 Command + [ Ctrl + 8
Delete word forward Ctrl + Del Ctrl + Del Ctrl + Del
Delete word backwards Ctrl + Backspace Ctrl + Backspace Ctrl + Backspace
Close tag Alt + . Command + Alt + . Alt + .

 

Commenting

Windows OS X Linux
Comment line (custom code see below) Ctrl + 7 Command + \ Ctrl + 7
Block Comment line (custom code see below) Ctrl + Shift + 7 Command + Shift + \ Ctrl + Shift + 7

 

Bookmarks

Windows OS X Linux
Add/remove bookmark Ctrl + F2 Command + F2 Ctrl + F2
Goto next bookmark F2 F2 F2
Goto previous bookmark Shift + F2 Shift + F2 Shift + F2
Select all bookmarks (custom code see below) Alt + F2 Alt + F5 Alt + F5
Clear bookmarks Ctrl + Shift + F2 Command + Shift + F2 Ctrl + Shift + F2

 

Mark (you can set one mark)

Windows OS X Linux
Set mark Ctrl + K Space

Command + K Space

(Conflicts with spotlight in OSX, customize the shortcut if needed.)

Ctrl + K Space
Set new location Ctrl + K X Command + K X Ctrl + K X
Select to mark Ctrl + K A Command + K A Ctrl + K A
Delete to mark Ctrl + K W Command + K W Ctrl + K W
Delete mark Ctrl + K G Command + K G Ctrl + K G

 

Misc

Windows OS X Linux
Toggle Spellchecking F6 F6 F6
Sort lines F9 F5 F9

 

Custom shortcuts

Toggle console
{ "keys": ["ctrl+alt+c"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }
Autocomplete suggestions (for linux)
     { "keys": ["ctrl+space"], "command": "auto_complete" },
     { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
          [
               { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
               { "key": "auto_complete_visible", "operator": "equal", "operand": false },
               { "key": "setting.tab_completion", "operator": "equal", "operand": true }
          ]
     }
Indent line(s)
{ "keys": ["ctrl+8"], "command": "indent" }
Undent line(s)
{ "keys": ["ctrl+9"], "command": "unindent" }
Comment line
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } }
Comment block
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }
Select all bookmarks in (in OS X and Linux)
{ "keys": ["alt+f5"], "command": "select_all_bookmarks" }

 

Example user keymap file for Windows:

[    
    { "keys": ["ctrl+alt+c"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
    { "keys": ["ctrl+8"], "command": "indent" },
    { "keys": ["ctrl+9"], "command": "unindent" },
    { "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
    { "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }
]

How to install Packet Control in Sublime Text 2 editor.

Nice dark and light custom themes for Sublime Text editor.

Add comment

Hello. Anddasdasdas Bye.kcthw
[url=http://www.hbtlaw.com/uploads/File/lv/shsh-fbb5a4-lv.asp]¥ô¥£¥È¥ó n51150 ¥À¥ß¥¨ ¥Ö¥ì¥é[/url]
http://www.eplanetshopping.com/UserFiles/Image/lv/jdgv-111318-lv.html
http://www.hbtlaw.com/uploads/File/lv/shsh-788d9a-lv.asp
http://www.laverrerie.ch/_userfiles/File/ri/cnxc-960518-rimowa.php
http://ddz.doba.pl/FCKeditor/userfiles/pr/mvdc-982523-prada.php
[url=http://www.mezitlivet.net/upload_files/fck/nkdhv-203304-canadagoose.asp]¾©[/url]
[url=http://www.nnh.no/UserFiles/File/pr/vkdc-833661-prada.html]¥×¥é¥À ÐÞÀí ¥«©`¥É[/url]
http://www.mattressmattress.com/benelke/upload/he/ndore-9f8b26-hermes.php
http://www.lundbyblommor.se/user/Image/he/sasd-hxacti-hermes.html
[url=http://www.eplanetshopping.com/UserFiles/Image/lv/jdgv-144816-lv.html]¡¾Óè¼s×¢ÎÄ¡¿¥ë¥¤¥ô¥£¥È¥ó ¾©¶¼ ÇóÈË[/url]
http://lexim.com.vn/Images/flash/lv-wuglbb-lexim.asp
[url=http://www.praj.net/images/lv/hdgd-c7e495-lv.asp]¥ë¥¤¥ô¥£¥È¥ó ¥³¥Ô©` ُÈë[/url]
http://ddz.doba.pl/FCKeditor/userfiles/pr/mvdc-880149-prada.php
http://fdcs.uclm.es/userfiles/media/he/mmvd-7CF774-hermes.html
http://www.tripleactiontonic.com/userfiles/image/ri/mvkf-892289-rimowa.asp
http://www.babin-immobilier.com/images/lv/jdjd-229659-lv.asp
http://www.arabmu.com/NTC/ri/mnmn-bbeb77-rimowa.asp
http://g8shutters.com/Images/pr/mvdf-d81260-prada.html
[url=http://www.faststad.se/userimages/Image/jc/jkffc-f32e8d-jimmychoo.asp]¥¸¥ß©`¥Á¥å¥¦ ÏãË® ¿Ú¥³¥ß[/url]
[url=http://www.maroda.it/public/media/prada-ztfnzg-xmaro.asp]¥×¥é¥À ¥Ð¥Ã¥° ÃԲʱú[/url]
http://www.emkayauto.com/Uploads/Image/cg/mjnfkf-800772-canadagoose.php
http://www.bilgisayartamircim.com/userfiles/file/cg/nkjc-254d29-canadago...
[url=http://www.dac-uddannelsen.dk/fc/userfiles/image/duv/jidef-650322-duveti...¥â¥ó¥¯¥ì©`¥ë ¥Ç¥å¥Ù¥Æ¥£¥« ¥Ø¥ë¥Î[/url]
http://www.hifg.co.kr/UserFiles/Image/lv/hdhd-9a0fb8-lv.html
http://babin-immobilier.com/u_fichier/Image/he/njhc-ba37ba-hermes.html
[url=http://www.hbtlaw.com/uploads/File/lv/shsh-802ed7-lv.asp]¡¾ÐÂÉÌÆ·£¡¡¿¥ë¥¤¥ô¥£¥È¥ó Ø”²¼ ¥À¥ß¥¨ ‚ÎÎï ÒŠ·Ö¤±·½[/url]
http://ddz.doba.pl/FCKeditor/userfiles/pr/mvdc-616108-prada.php
http://babin-immobilier.com/u_fichier/Image/he/njhc-f01f65-hermes.html
[url=http://www.maroda.it/public/media/prada-ochemf-xmaro.asp]o ¥×¥é¥À Øœ‰Óµê Ä¿[/url]
http://babin-immobilier.com/u_fichier/Image/he/njhc-bca8c3-hermes.html
nwysddk

Hello. Anddasdasdas Bye.trhkt
[url=http://www.eplanetshopping.com/UserFiles/Image/lv/jdgv-881856-lv.html]louis vuitton¥ô¥£¥È¥óbbs[/url]
http://fdcs.uclm.es/userfiles/media/he/mmvd-C26FB9-hermes.html
http://babin-immobilier.com/u_fichier/Image/he/njhc-ba773b-hermes.html
[url=http://www.maroda.it/public/media/prada-megvqc-xmaro.asp]¥×¥é¥À ¥Ð¥Ã¥° Ò»ÓE[/url]
http://harvestwholesale.com/UserFiles/File/jc/mxak-971583-jimmychoo.html
http://www.mattressmattress.com/benelke/upload/he/ndore-8c5acf-hermes.php
[url=http://www.hbtlaw.com/uploads/File/lv/shsh-69ca24-lv.asp]È˚ݤ¢¤ë¥ë¥¤¥ô¥£¥È¥ó ¥ô¥§¥ë¥Ë ÐÂ×÷[/url]
http://fdcs.uclm.es/userfiles/media/he/mmvd-159532-hermes.html
http://www.faststad.se/userimages/Image/jc/jkffc-f2e06c-jimmychoo.asp
http://lexim.com.vn/Images/flash/lv-kmxbbv-lexim.asp
http://www.nnh.no/UserFiles/File/pr/vkdc-850504-prada.html
[url=http://www.eplanetshopping.com/UserFiles/Image/lv/jdgv-157304-lv.html]¥ë¥¤¥ô¥£¥È¥ó ÊÖŽ¤ ÐÂÆ·[/url]
http://www.faststad.se/userimages/Image/jc/jkffc-819c93-jimmychoo.asp
[url=http://www.eplanetshopping.com/UserFiles/Image/lv/jdgv-895660-lv.html]¡¾¹úÄÚδ°k‰Ó¥â¥Ç¥ë¡¿¥ë¥¤ ¥ô¥£¥È¥ó[/url]
[url=http://www.hifg.co.kr/UserFiles/Image/lv/hdhd-459e4c-lv.html]¡¾Óè¼sÊܸ¶é_ʼ¡¿Œùɽ ¸ßuÎÝ ¥ë¥¤¥ô¥£¥È¥ó[/url]
http://www.wmu.com/userfiles/image/he/jmdof-68e36a-hermes.php
http://www.afaplan.pt/UserFiles/Image/jc/jdnc-495263-jimmychoo.html
http://www.wmu.com/userfiles/image/he/jmdof-65dfef-hermes.php
[url=http://www.lundbyblommor.se/user/Image/he/sasd-pjyjsd-hermes.html]¥¨¥ë¥á¥¹ ÏãË® Í¥ˆ@[/url]
http://www.anandgroupindia.com/admin/jc/bxsh-679611-jimmychoo.html
[url=http://www.hifg.co.kr/UserFiles/Image/lv/hdhd-fafaa2-lv.html]¡¾ÐÂÆ·-±¾Îï-ÕýÒŽÆ·¡¿¥ë¥¤¥ô¥£¥È¥ó ¥³¥Ô©` ¥È©`¥È¥Ð¥Ã¥°[/url]
http://www.vesecred.com/material/file/duv/kokfd-1d05e7-duvetica.html
[url=http://www.praj.net/images/lv/hdgd-87c394-lv.asp]¥ë¥¤¥ô¥£¥È¥ó ¥Í¥Ã¥¯¥ì¥¹ ÖйÅ[/url]
http://ddz.doba.pl/FCKeditor/userfiles/pr/mvdc-113101-prada.php
http://www.babin-immobilier.com/images/lv/jdjd-883042-lv.asp
http://www.babin-immobilier.com/images/lv/jdjd-561512-lv.asp
http://www.mattressmattress.com/benelke/upload/he/ndore-e34715-hermes.php
[url=http://www.laverrerie.ch/_userfiles/File/ri/cnxc-964956-rimowa.php]¥ê¥â¥ï ÐÂËÞ ¥»¥ì¥¯¥·¥ç¥ó[/url]
[url=http://www.hbtlaw.com/uploads/File/lv/shsh-a8c60f-lv.asp]¡¾¼¤°²¥»©`¥ë£¡¡¿¥ë¥¤¥ô¥£¥È¥ó ±Ú¼ˆ ¥¢¥×¥ê[/url]
[url=http://www.maroda.it/public/media/prada-edlmrh-xmaro.asp]¥×¥é¥À ¥¦¥¤¥ó¥°¥Á¥Ã¥× ¥ª©`¥À©`[/url]
wunycoj

Well done guys....Thanx

You're welcome!

GUD

Excellent, thank you.