Magit, fzf, and ast-grep demo
This is a demo I did at work on Magit, fzf, and ast-grep. I used Magit since 2016, fzf since 2018, and ast-grep first in 2024. The Magit usage is on git interactive rebase, so it might be translated to other git clients. I recently switched from fzf to atuin, but fzf is still great. The fuzzy matching with fzf seemed to work better for me, but I think the extra metadata saved with atuin might be useful. At the time of the demo, I was not able to get the "replace" working with ast-grep. I created a demo of my issue. It's possible the issue could have been fixed since there have been many new releases since then. Or I might have been doing something wrong. I haven't used ast-grep in a while, but I did see an AI agent that advertised ast-grep integration, which sounds cool. The HN comments do say that command line tools are on the rise integrating with AI agents, so let's CLI.
The video on YouTube is here: https://www.youtube.com/watch?v=W4eOz3L6Ga8. Sorry for the poor resolution. I don't know how to YouTube.
Related posts
- Magit in Spacemacs (evil-magit) notes — posted 2018-11-02
- Switching from Emacs to Vim (actually Spacemacs) — posted 2015-12-31
- Colorized, interactive "git blame" in Emacs: vc-annotate — posted 2011-05-28
- My Emacs Python environment — posted 2010-05-10
- Emacs espresso-mode for jQuery — posted 2010-03-10
