Selasa, 12 Maret 2019

Sublime Text 3 - Useful Shortcuts (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)

General

ShortcutDescription
Ctrl+Shift+Pcommand prompt
Ctrl+Alt+Pswitch project
Ctrl+Pgo to file
Ctrl+Ggo to line
Ctrl+Rgo to methods
Ctrl+Shift+Rgo to methods in project
Ctrl+KBtoggle side bar
Ctrl+`toggle console
Ctrl+Shift+Nnew window

Editing

ShortcutDescription
Ctrl+Lselect line (repeat select next lines)
Ctrl+Dselect word (repeat select others occurrences in context for multiple editing)
Ctrl+Alt+Up / Ctrl+Alt+Downselect column for multiple editing
Ctrl+Shift+Mselect content into brackets
Ctrl+Shift+Enterinsert line before
Ctrl+Enterinter line after
Ctrl+Shift+Kdelete line
Ctrl+KKdelete from cursor to end of line
Ctrl+KBackspacedelete from cursor to start of line
Ctrl+Shift+Dduplicate line(s)
Ctrl+Jjoin lines
Ctrl+KUupper case
Ctrl+KLlower case
Ctrl+/comment line
Ctrl+Shift+/block comment
Ctrl+Yredo or repeat
Ctrl+Ccopy
Ctrl+Vpaste
Ctrl+Shift+Vpaste and ident
Ctrl+Spaceautocomplete (repeat to select next suggestion)
Ctrl+Mjump to matching brackets
Ctrl+Usoft undo (movement undo)
Ctrl+Shift+Usoft redo (movement redo)

Code navigation

ShortcutDescription
F12go to definition
Alt+-jump back
Alt+Shift+-jump forward

XML / HTML

ShortcutDescription
Ctrl+Shift+Aselect content into tag
Alt+.close tag

Find / Replace

ShortcutDescription
Ctrl+Ffind
Ctrl+Iincremental find
Ctrl+Hreplace
F3find next occurrence of searched word
Ctrl+F3find next occurrence of current word
Alt+F3select all occurrences of current word for multiple editing
Ctrl+Shift+Ffind in files

Navigation

ShortcutDescription
Ctrl+0focus on sidebar
Escfocus back to edit area when focus on sidebar

Splits / Tabs

ShortcutDescription
Alt+Shift+1single column
Alt+Shift+2two columns
Alt+Shift+5grid (4 groups)
Ctrl+[1,2,3...]focus group
Ctrl+Shift+[1,2,3...]move file to group
Alt+[1,2,3...]select tab

Bookmarks

ShortcutDescription
Ctrl+F2toggle bookmark
F2next bookmark
Shift+F2previous bookmark
Ctrl+Shift+F2clear bookmarks

Marks

ShortcutDescription
Ctrl+KSpaceset mark
Ctrl+KWdelete from cursor to mark
Ctrl+KAselect from cursor to mark
Ctrl+KGclear mark

More

Go to Preferences → Key Bindings - Default to explore all default shortcuts and read instructions for packages you installed to find out about their custom key bindings.