Sublime Text3 Shortcuts: An Eye-Opening GuideCracky⚡
Sublime text is a text editor widely used by developers. The number of satisfied users attests to that. If you explore it, you will eventually see how beautiful its powerful features are hidden behind a simple and elegant interface. I know some Zen’s will detest that, Fortunate and co. They will never let me give my reasons on why i prefer it to Visual Code Editor. Do not get me wrong, Visual code Editor is awesome, but i just cant help myself on why i am not a fan. Sublime text anytime, any day.
How to install Sublime Text on windows?
Step 1 – Check your windows OS and check for the bits. If you’re running on a 64bits OS, you can easily download the exe package for both 32bits and 64bits. If you are running on a 32bits OS, Only the exe package of 32bits will work on your windows.
Step 2 – Download the exe package from https://sublimetext.com/3 . Click on windows64 bits for the 634bits version. For the 32bits package, click on portable version.
Step 3 – Extract the files from the zip and install through the setup wizard and click on Next.
Step 4 – Choose a destination location to install Sublime Text3 and Click Next.
Step 5 -Confirm the destination and click Install
Step 6 – After that, Click Finish to complete the installation
Step 7 – Upon a successful installation, your editor will appear as shown below:
This guide is to reveal to us the top powerful shortcuts of sublime text. The above introduction on how to download/install the editor is necessary because without having the editor itself, one will not be able to explore the following shortcuts:
We all know the popular shortcuts right from our secondary school days. That’s if you attended a standard school though. Hehe, I’m not looking for trouble. The popular ones are Ctr+ S as Save , Ctr + O as open, Ctr + T for a new tab, etc We will get to know more unique shortcuts.
Ctr + P – To find a file already opened in the editor. You must have opened at least more than one file on your editor for this feature to work. Don’t be like me because when i was learning it back then, I stayed on this particular feature looking like a lost sheep
Ctr + G – To find a line number. This feature is suitable for Backend developers. Perhaps, you have run some codes, let’s say code lines of 1300, Haha, wowed right? and the output gives an error indicating where the error is .You just have to go back to your editor and use the CTR + G feature and insert the line directly and work on it to fix the error. Cool right? hehe. I’ve got more.
CTR + Shift + K – To delete a whole line.
CTR + Shift + N – To open a new window. A window contains several tabs.
Ctr + L – To select a line. This will highlight the texts from the beginning of a paragraph to the end.
Ctr + D – This is quite succy. This shortcut is used to select a word .It will repeat and select other occurrences in the context for multiple editing.
Ctr + K + U – To convert selected texts to Uppercase.
Ctr + K + L – To convert selected texts to Lowercase.
Ctr + / – This is the best way to insert a comment line. HTML beginners can find this very helpful.
Ctr + C – To copy
Ctr + V – To paste
Ctr + Y – To redo
Ctr + Z – To undo
Ctr +F – To find a particular text/block.
Ctr + H – To replace. In case you want to replace a text globally in a file, use this shortcut and insert the current text in the find box and the new text(s) in the replace box.
Ctr + Shift+ F – To find in files.
Alt + Shift + 1 – This is a for a single column tab.
Alt + Shift + 2 – This is for two columns. I really like using this to work. It gives one the privilege to work on two files at ease.
Alt + Shift + 5 – Where is the one for 3 and 4? you might ask. Well, they will work just like the above shortcuts (3 and 4). This Alt + Shift + 5 creates a grid (4 groups). It is very different from the normal four columns (Alt + Shift + 4).
The funniest thing with these tabs is when you want to revert to a single tab perhaps. I once tried Ctr + Z (undo). Lmao, i was just laughing at myself. To revert, just use the shortcut itself. Alt + Shift + 1 for a single tab, Alt + Shift + 2 for two columns.
Ctr + F2 – This is used to toggle a bookmark. I use bookmarks when i know i might need to go back to a particular line/block during the course of writing the codes. You can also create more than one bookmark. Just repeat the same shortcut on another line/block.
Shift + F2 – To navigate to the previous bookmark.
Ctr +Shift + F2 – To clear bookmarks.
Ctr + Shift + A – To select content into a tag.
Alt + . – To close a tag. This shortcut is very useful for HTML Beginners. After opening quite some number of tags, this shortcut provides the opportunity for you to close the opening tags without typing anything.
Sublime text is full of such dynamic and robust shortcuts. You probably won’t be able to remember these by skimming this article; rather, you’ll need to practice as you go through it. Refer to them regularly as you’re going through it. Practice is key.