Do you have any tricks or tips that makes your coding environment more friendly?
On the Discord, there were some useful tricks and tips people were posting about organizing Chrome tabs. I thought we could share our tricks and tips here.
Once tool I love is the entr tool which can watch my file for changes and run the tests for me on file save. What tricks do you have up your sleeve?
One tool I only started using recently but loving it so far is autojump.
It’s like cd, but it takes note of directories you cd into so that you can later just say the name of the directory, and no matter where you are currently in the directory tree, it tries its best to figure out the directory you meant and cd there directly.
Didn’t know about CDPATH, that’s good to know!
autojump goes a step further, in that it lets you refer just to a directory in your tree or even just part of the name of a directory and manages to figure out what you meant.
For instance, the repos I work most at my job are at:
And it knows what I mean. Even if “ui” and “api” are not unique and I visited other folders with that as part of name, if the folders for my work are the ones I visit the most, it’ll prefer those.
The other day I made a typo on a directory name, and it still figured it out somehow