Recent Posts

Opening Files Quickly from Inside vim

published on
I use ot a lot when it comes to opening files. I wanted to be able to use this tool from inside vim as well. It turns out, the solution is quite simple.

Improving prove with Preview Windows

published on
Last month, I talked about how to add tab completion to a CLI program, using fzf. Next we talked about a more generic solution which adds a preview window to a file search. Today we will look at how to combine the knowledge from these two posts. What we want to do is have our custom completion for the prove CLI, but with a preview window. The solution looks like this: Read More...

Adding a Preview Window to Your Tab Completion

published on
A few days ago, I talked about how to add tab completion to a CLI program, using fzf. As usual, there’s more than one way to do it (TIMTOWDI) and I’d like to look at another approach which also uses fzf. One of the neat things about fzf is that it can provide you with configurable preview window. The following snippet will require fzf and bat, which is another handy tool which I encourage you to explore. Read More...

Adding Tab Completion to Your Favourite CLI Programs

published on
I like to find what I need quickly, so I make heavy use of tab completion at the command line. Lately, I’ve been using fzf more and more to do this. It’s a wonderful tool. I won’t go in depth about fzf here, but if you haven’t checked it out, please do. I think it’s well worth it. What I want to do today is to explain how to harness the power of fzf to add tab completion to an arbitrary command line program. Read More...

CPAN Bus Factor

published on
[The following post is the result of a collaboration with Neil Bowers] CPAN Bus Factor Perhaps you’ve noticed a new metric when browsing MetaCPAN? What is “bus factor”? Wikipedia defines “bus factor” as a measurement of the risk resulting from information and capabilities not being shared among team members, derived from the phrase “in case they get hit by a bus.” For CPAN our definition is “a measurement of how risky it might be to start relying on a CPAN module, which might not be actively maintained”. Read More...


published on
Over the past 6 months or so, I’ve been working on a project to port goimports (or some version of it) to Perl. By now I’ve tested it on our Perl codebase at $work, on MetaCPAN and also some CPAN modules. It’s now at a state where I can say it’s getting to be a useful tool. You can find perlimports on MetaCPAN and GitHub. For a more thorough introduction, see my talk from the Perl and Raku Conference this past week. Read More...


Bat (2)

Cpan (3)

Fd (3)

Fzf (3)

Go (2)

Lwpconsolelogger (1)

Metacpan (15)

Openthis (1)

Perl (37)

Perlimports (1)

Programming (27)

Prove (3)

Tab Completion (3)

Testing (3)

Vim (1)