I just wanted to quickly share a shell alias I have been using lately to get some more color in the terminal when you cat a file. Below is a screenshot of what an average terminal looks like when you just use $ cat somefile.js Sure, it does the job, and you probably are ok with it looking dull as hell. But what if you could make it look like this:
I love the terminal. Besides the fact it makes you look awesome while using it, it can also do about a gazillion different things. Most of them useful. One thing is for sure, while developing webapps I have it running all the time and spend a lot of time running commands and monitoring output. So why not make it look as pretty as it is awesome? In this short walkthrough I’ll explain how to customize the terminal to make it look like mine, but make sure you fiddle with the settings so it works best for you.
So there we go. Writing this post in vim. Macvim to be exact. Trying not to touch the arrow keys, not use the h-j-k-l too extensively either, work with A and I a lot, and generally trying not to cock things up too much by hitting the wrong commands. So why do I willingly put myself through the torture of using the monster that is Vim? Well, just like a lot of developers out there, I’ve had a long time desire to be able to use Vim properly.