The Valuable Dev - A Practical Guide to fzf: Building a Git Explorer
Thursday Greetings, Valuable Developer
Hope everything's going great on your side!
This month we'll dive deep into fzf once again, to create useful and customized interfaces for Git. The goal is for you to be able to create interfaces for any CLI tool easily, and enhance your workflows in the terminal.
A Practical Guide to fzf: Building a Git Explorer
If there is a powerful tool we often use in software development, it's Git. Let's create some interfaces using fzf to version our files, manage our Git commits and our branches.
Updates
As always, I'm putting a lot of time in my book, Learning to Play Vim. I'll soon send a newsletter to give more information about that. I'm eager to finish this book, so I decided to stop publishing articles on The Valuable Dev (and stop sending this newsletter) until it's done, hopefully this summer. I'm not abandoning The Valuable Dev here; it's only temporary.
Mouseless
Here are some tools I found interesting:
- AST grep is an interesting idea: it's similar to grep but instead of parsing plain text, it parses AST (Abstract Syntax Tree) produced by treesitter (I've written about treesitter in this article).
- I'm often working with XML files at work, and reading them (or parsing them) quickly to find the information I need can be a challenge. The CLI tool xmq can parse and render a more readable (and easier to parse) format for our XML files.
- Speaking of XML, yq is the equivalent to jq for XML.
- If you want to make JSON more "greppable", fastgron can help you.
- If you're interested in Large Language Models (LLM) and ripgrep, dripgrep is an interesting concept; the README is quite entertaining to read.
Let's Connect!
If you want more information about the content of this newsletter, or if you have any question, don't hesitate to reply to this email! I'm always happy to answer back.
Similarly, if you think this newsletter is boring, if you didn't like my last article, or if you have any feedback, please let me know; it would help a lot!
See you soon, Matthieu