Sublime Text Keyboard Shortcuts

Unlock the full potential of your coding experience with our comprehensive guide on Sublime Text Keyboard Shortcuts. This article dives deep into essential shortcuts that streamline your workflow, boost productivity, and enhance navigation within this versatile code editor.

Learn how to customize key bindings, utilize multiple cursors, manage projects efficiently, and much more. Whether you’re a beginner or an advanced user, our tips and tricks will take your software development to the next level. Perfect for anyone looking to master Sublime Text and improve their coding efficiency.

FAQ on Sublime Text Keyboard Shortcuts

What is Sublime Text and why should I use its keyboard shortcuts?

Sublime Text is a powerful code editor beloved by many software developers. Its keyboard shortcuts enhance productivity by streamlining workflow. You can quickly open files, navigate projects, and execute commands without leaving the keyboard, making your coding experience faster and more efficient.

How do I customize keyboard shortcuts in Sublime Text?

To customize, go to Preferences > Key Bindings. It opens two files: Default and User. Copy the desired shortcut from Default to User and modify it. This allows personalizing the editor, fitting your specific programming habits and enhancing your coding efficiency.

What are some essential Sublime Text keyboard shortcuts for beginners?

Start with basics: Ctrl+P for quick file open, Ctrl+Shift+P for the command palette, and Ctrl+D to select a word. These shortcuts streamline code navigation and editing, building a foundation for mastering more advanced commands, making coding smoother.

How can I use multiple cursors and selections?

Hold Ctrl and click where you want additional cursors or use Ctrl+Alt+Down. This feature revolutionizes editing text as it allows simultaneous modifications at multiple locations, a significant boon for code refactoring and bulk editing tasks.

What’s the best way to manage projects using keyboard shortcuts?

Use Ctrl+Shift+P, then type “Project: Quick Open.” It helps in switching between projects swiftly. For project management, these shortcuts allow seamless navigation and organization, thus maintaining your coding momentum without manual interruptions.

How can I enable and use snippets to speed up coding?

Access Snippets via Ctrl+Shift+P and type “Snippet”. You can create and customize snippets in Preferences > Browse Packages > User. Use shortcuts to insert boilerplate code, enhancing your coding efficiency and reducing repetitive typing.

How do I install and manage plugins using shortcuts?

Press Ctrl+Shift+P, type Package Control: Install Package, then search and install plugins. Use Package Control to update or remove them. These shortcuts streamline the integration of additional functionalities, significantly enhancing your editor’s capabilities.

Are there specific shortcuts for navigating and manipulating lines of code?

Yes. Use Ctrl+L to select a line, or Ctrl+Shift+K to delete it. Ctrl+/ toggles comments. These shortcuts ensure efficient code manipulation, maintaining your focus on development without frequent mouse usage.

How can I quickly switch between files?

Use Ctrl+P for quick file open and Ctrl+Tab to cycle through open files. These shortcuts facilitate effortless navigation between your files, speeding up the coding process and allowing you to manage multiple files efficiently.

How can I make use of Sublime Text’s search functionality?

Ctrl+F opens the search, and Ctrl+Shift+F uses the Find and Replace function across files. Utilize RegEx search and case-sensitive options for precision. These features streamline code inspection and modification, saving crucial time during development.

And here’s the table with all the Sublime Text keyboard shortcuts

In case the searchable table doesn’t load. 

KeysAction
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 + K BToggle side bar
Ctrl + `Toggle console
Ctrl + Shift + NNew window
Ctrl + LSelect line (repeat select next lines)
Ctrl + DSelect word (repeat select others occurrences in context for multiple editing)
Ctrl + Alt + UpSelect column for multiple editing
Ctrl + Alt + DownSelect column for multiple editing
Ctrl + Shift + MSelect content into brackets
Ctrl + Shift + EnterInsert line before
Ctrl + EnterInsert line after
Ctrl + Shift + KDelete line
Ctrl + K KDelete from cursor to end of line
Ctrl + K BackspaceDelete from cursor to start of line
Ctrl + Shift + DDuplicate line(s)
Ctrl + JJoin lines
Ctrl + K UUpper case
Ctrl + K LLower case
Ctrl + /Comment line
Ctrl + Shift + /Block comment
Ctrl + YRedo or repeat
Ctrl + CCopy
Ctrl + VPaste
Ctrl + Shift + VPaste and indent
Ctrl + SpaceAutocomplete (repeat to select next suggestion)
Ctrl + MJump to matching brackets
Ctrl + USoft undo (movement undo)
Ctrl + Shift + USoft redo (movement redo)
F12Go to definition
Alt + –Jump back
Alt + Shift + –Jump forward
Ctrl + Shift + ASelect content into tag
Alt + .Close tag
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
Ctrl + 0Focus on sidebar
EscFocus back to edit area when focus on sidebar
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
Ctrl + F2Toggle bookmark
F2Next bookmark
Shift + F2Previous bookmark
Ctrl + Shift + F2Clear bookmarks
Ctrl + K SpaceSet mark
Ctrl + K WDelete from cursor to mark
Ctrl + K ASelect from cursor to mark
Ctrl + K GClear mark

 

7328cad6955456acd2d75390ea33aafa?s=250&d=mm&r=g Sublime Text Keyboard Shortcuts
Related Posts
Read More

CSS Minifier

Our CSS Minifier Tool is designed to optimize your stylesheets by stripping unnecessary characters, comments, and white spaces from your…
Read More

HTML Beautifier

Enhance your web development experience with our cutting-edge HTML Beautifier tool. Designed to streamline your coding process, our…
Read More

Password Strength Tester

Quickly assess the strength of your passwords with our intuitive password strength tester. This tool analyzes your password’s…
Read More

JSON Validator

Easily ensure your JSON data is error-free with our JSON validator. This tool checks syntax and structural integrity,…