As developers, we love those quirky tools and nerdy shortcuts. They not only make you look smarter 🤓 but also makes us faster 🚀 and productive ✨.
Here is a list of tools / hacks to make your development environment more productive.
Today Git is everywhere.
- If you are still using SVN or PVCS, good luck with that.
- If you are wondering what are them, don't bother about it.
lazygit is insanely awesome. It converts the terminal into a UI.
All you have to do is run
lg(I hope you know how to create an alias 😉).
Then check the files and (un)stage those that you want with
Finally, commit them with
Enter your commit message and press
So easy right.
If you are using
GitHub a lot, then you should also checkout hub.
With the hub, you can do a lot more interesting stuff:
You can clone a repo using
hub clone org/repo
You can browse issues using
hub browse --issues
(No more opening browsers and entering URLs)
If you are like me, performing a lot of code review. Downloading PRs will be a huge hassle. But with hub you can checkout pr
hub pr checkout <pr_no>
If the PR is updated then pull the changes with
hub am -3 https://github.com/org/repo/pull/<pr_no>
They also have
hub create command which creates the project under your username in Github all from the terminal. 🎉
LazyGit + Hub will liberate you from few commands and clicks and copy-pasta.
Notepad was my first editor (Now, don't judge me). IDEs evolved a lot from those days. But VSCode is an important paradigm shift in the world of IDEs.
But customizations on VSCode is next level. You can tweak every little detail that you want to.
Liquid error: internal
I love typography and clean design. I constantly fiddle with fonts and I think there is a link between the font and your productivity (research glasses 👓 on).
I mainly use
- SF Mono (Apple's font)
- Fira Code Sans - here
- Menlo (default font for VSCode for Mac)
- Ubuntu - Mainly because I fiddled a lot with Ubuntu in my early days of programming.
The font is just the beginning, for an awesome experience you should have an awesome theme 🎆.
Who wouldn't love a well-crafted theme?
In fact, I get a lot of questions about the theme that I am using after my talks. Invariably, people love good (and minimalistic) design.
The recent one that I am enjoying a lot is Synthwave'84. Well, it is crazy.
Check out more about how to install and use Synthwave'84 here. I am pretty sure you'll love it because it just glows 💡.
But there are other themes that I love too. They are
Spice your VSCode with Icons. Check out the plugin here
Nowadays, I am fiddling a lot with WebAssembly Text Format (which kinda looks like LISP), the Bracket Pair Colorizer plugin is mandatory for me. Check this out here.
It neatly colourizes the matching brackets and makes it easy.
Finally the shortcuts:
One of my favorite shortcut is
cmd + a +
cmd + k +
cmd + 0. This collapses all the code segment. So you will have a clearer view of what a file does and then you can drill down to specific functions.
Split the editor view vertically using
cmd + ctrl + right | left.
Navigate the files througn
cmd + option + right | left
For any other action type
cmd + shift + p to open the actions menu. You can choose anything from this menu.
There are a lot of keyboard shortcuts. Check out the official guide here
Who doesn't love bash 🔳?
If you're using Mac, then it is highly possible that you might be using a way old version of bash. It is time to update, check out how here.
zsh and its theme (who doesn't).
Personally, I am using a customised version of the Bullet train.
Since I play with a lot of different programming languages and its versions. Often I forget what version I am running.
I tweaked the
bullet-train a little bit to include the programming languages that I use often based on the directory contents. I know it is not complete or huge but it helps me enormously. Check out patched version here.
Being an introvert and travelling 🚌 a lot alone, My laptop is my dearest friend 🙏. Often the flight ✈️ or train 🚋 ride is where my presentations are done and demos are crafted.
If you are doing it, then this will interest you.
- First make your Mac sleep whenever it can.
System Preferences > Energy Saver
Next if you are using Docker For Mac | Windows shut them off.
Don't ever dream to open Slack 😆. Use it with caution.
Turn off Wi-fi | Bluetooth, if you don't need them.
Reduce the display brightness.
These little things will help you to increase the duration of your battery life.
But hey, don't forget to stay hydrated while on the move.
Watch your actions, if you feel there is a thing that you are doing often and it is mundane and repetitive. Check for a shorter way to do it. If you found an awesome way share it with the community ✨.
At times, you will see people doing some crazy keyboard shortcuts in the demos or your colleagues will do it while working. Just ask them, most of them will be more than happy to share.
Be passionate and start hacking!
If you got a cool theme | font | shortcut, then comment it here. It will help anyone lurking over here.
More on productivity:
If you have any questions/suggestions/feel that I missed something feel free to add a comment.
You can follow me at Twitter.
If you like this article, please leave a like or a comment. ❤️