Sublime Text 3 Shortcuts you must know!

  • 23-07-2018
  • programming
Thumb

Share:

https://techconductor.com/blogs/programming/sublime_text_3_shortcuts.php

Copy


Sublime Text is one of the most widely used IDE, it's simplicity, fluient design and light weight made many programmers adopt it. It has all the necessary features that an IDE must have.

To use the full power of Sublime Text here are the keyboard shortcuts that will save you a lots of time and also there are many features which you might have not thought of but here you will easily find how to use it with few keyboard shortcuts.


Sublime Text Shortcuts



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
Ctrl+Shift+TOpen Last closed Tab

Editing


ShortcutDescription
Ctrl+Lselect line (repeat select next lines)
Ctrl+Dselect word (repeat select others occurrences in context for multiple editing)
Ctrl+Shift+Up / Ctrl+Shift+Downmove line of code Up or Down
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)
Ctrl+]Indent current line(s)
Ctrl+[Un-indent current line(s)
Ctrl+K UMake Cursor location word Upper Case
Ctrl+K LMake Cursor location word Lower Case

Code navigation


ShortcutDescription
F12go to definition
Alt+-jump back
Alt+Shift+-jump forward
Ctrl+;Goto word in current file

XML / HTML


ShortcutDescription
Ctrl+Shift+Aselect content into tag
Alt+.close tag
Alt+qHard wrap line to ruler column setting

Find / Replace


ShortcutDescription
Ctrl+Ffind word (default selects word at cursor location)
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


Reference: sublimetext.com orignal post