Lurker News
I recently started integrating tmux and vim into my workflows. Obviously, it was a huge efficiency booster. What are some other tools (custom built or off-the-shelf), hotkeys, workflows that were game-changing for you as a dev? I'm interested in hearing about anything and everything (stuff from ctrl+l to clear the terminal to little-known git commands to larger-scale strategies like CI/CD)

Comments (522) 158 threads

Earlier comments
ProZsolt#
Using a modified international English keyboard[1] for programming.

My native language is Hungarian. We have 9 extra letters on the keyboard. Occupying the keys on the right side on the keyboard that used for brackets, semicolons, etc. on the US keyboard. These characters are moved to weird positions[1].
I use the English keyboard most of the time but modified it, so when I hit Caps Lock I can type Hungarian letters.
[1]: https://www.apple.com/uk/shop/product/MLA22Z/A/magic-keyboar...
[2]: https://en.wikipedia.org/wiki/QWERTZ#Hungary

malkosta#
I stopped using mouse with https://i3wm.org

It was the fasted way to use a computer I've ever experienced

edmundsauto1 reply#
TextExpander. You can take your most common code snippets, table names, etc., and have shortcuts that expand to the full length. I used shortcut expansion around 10-20 times every day, which saves me about a couple hours per month (based on their internal analytics report).
stephenwithav#
+1.

yasnippets is the best for emacs.

polm231 reply#
Don't use single-letter variable names like i, j, k. At least double them, like ii, jj, kk. If you do that then they're easy to grep for.
ribadeodev1 reply#
..or just do not use variable names smaller than 3 characters if they do not mean anything, period. There is no difference in coding time and no good reason whatsoever.
polm23#
I generally agree, but I think ii, jj, kk are fine for those iterator ints in loops, or the throwaway var in a list comprehension in Python.

The only other situation single-letter variable names make any sense is if you have a short function that implements a mathematical formula, like distance or something.

Load more comments