I find search and replace to be a remarkably interesting topic, because it touches on so many Vim concepts. As a text editor, one of Vim’s superpower is composability, which enables combining small commands to accomplish complex tasks with search and replace.Continue reading “Advanced Search and Replace with Vim”
While the attribution may be hazy, the notion of laziness being an attribute of a good programmer is popular. I don’t know how good of a programmer I am, but I am really lazy.
So lazy that if I find myself doing something over and over, I write a script to do it for me the next time. Continue reading “Simple Bash Scripts for Lazy People | Part 1: Git”
This is part 4 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 4: Cadaver Dissection”
This is part 5 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 5: When to Choose Bash”
This is part 2 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 2: Rails”
This is part 3 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 3: Other Examples”
A few mappings to help boost your Vim workflow.
Rotate through different line numbering settings
Switch between absolute line numbers (normal), relative numbers (based on distance from your cursor) and no numbers at all using CTRL-n:
What must an Operating System do to satisfy web developers’ needs? This is a tricky question, as each person is a whole different world, so it’s impossible to have a single answer to satisfy every person.
We recently needed to remove the intermediate directories in a large number of parent directories. So, if we started with /A/B/C/D, we wanted to end up with /A/B/D. It seemed simple at the time, so I blithely said “Sure, I can write that easily as a shell script”.