Sublime Text3 Shortcuts: An Eye-Opening Guide
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.
Getting started.
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:
1. General
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.
2. Editing
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
3. Find/Replace
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.
4. Splits/Tabs
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.
4. Bookmarks
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.
5. XML/HTML
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.
Comments (39)
As if you went to a standard school??. Why the f*ck will you use CTR Z in trying to revert the split tabs? Success ehn??
That Ctr + Z was funny ehn???
Hmm, nice try…but doesn’t mean I won’t Still choose vs code over it anyday..?
The freaky interface and the side-servee feature ??. The colors and all. mtchew
And sublime looks cool?..? looks like notepad with black theme
Vs code interface is everything..???, live server***
Livescores. You guys are just lazy. That real-time update with browser is the only thing I woil have loved on sublime
Well, I’m sure the update won’t come anytime soon..and when it eventually does , it’ll be old news?
But I think ppl use vs code more than sublime text ? just saying
Sure ..it feels more professional to me..if that’s even something
Like seriously and has cool feature too
You don’t know that Success is the owner of the editor???. He will. never agree
Pele o. Mr professional. Na 2go star progress? You will soon see Ultimate.
I don’t agree. If you check most tutorials for beginners on text editors or HTML, they do use Sublime text as the text editor to download. ?? It’s after they have gotten familiar with the web environment before someone tells them to try out VS. ??Sublime Text is the basic editor for beginners.?? They just try to blend after sometime with VS. ?
Vs code for professionals sublime for beginners sounds like vs is on top and moreover top institutes for learning like pluralsight use vs code so vs code is you know already…?
Even the FTP feature. Success no wan wise up
Yusuf, fimisile. If you like, have FPL. Ko kan mi?
This one that everyone is fighting for sublime text/ vs code. We are missing an important editor called Notepad. Sounds funny right? But as a scratch developer don’t u think notepad is best?
They are talking of lion and tiger rat is showing face ? ??
I didn’t want to reply him, but you did. why na? Notepad???
Mhen, Gee, why this? Bringing an editor that was used in the stone age??. Lame editor.
True..?I once thought notepad is the best
Lmao. I saw you using it one day during class and I walked past laughing in my mind that, really? ???. But then, instead of you to join us, you picked VS??
I actually used sublime for a while , until I saw moyo using vs code. It looked so sleek and boom…I migrated
Moyo ehn??. See influencer.
But sincerely, let’s be putting a lil bit or respect on notepad’s name o?.. it’s what we all started with o, or at least most of us
That’s why I didn’t mention it before he did. Notepad is on another level. … *Yeye level tho*??
??
I remembered boasting of coding in notepad ++ the guy just looked at me like…?? until I met with vs code and my life never remained the same again I also got to know about sublime and brackets but still OPH you know na ? vs all the way
It can never be the same na. from notepad to VS. See for yourself. It will change from yeye to leemao??
The color style in sublime is rather blur and… I don’t know sha but vs code check it out
Commot here ?. all that glitters is not gold
?? it might not be gold but can be a diamond ???
You again? Notepad? This is hilarious
Sublime Text any day anytime. The interface itself tells it all ♥️
Hehe Come, let me teach you Auto-save with sublime.
???
Uhm… Sublime Text is okay I say… But what makes Visual Studio Code better is the ease, interface and the ease at which it gives output.. I’ll still go for Visual Studio Code over Sublime Text. One has to consider what type of text editor makes him/her grab things easily. I don’t grab what I learn when I make use of Sublime Text, so I believe it’s personal interest. Sublime Text is not all bad though…
#JavaBabyHasSpoken
Chai. Even You??
KO!? No need to add mine?