When I switched fully to Neovim a while back, one of the things I missed most from JetBrains IDEs (like RubyMine) was Git integration, especially the Git log view I’d use every day to quickly inspect recent commits and diffs. In RubyMine I’d often ask: “What changed in the last three commits?” and get an instant interactive history view.
Neovim, however, doesn’t have this kind of UI built in, and while there are many Git plugins out there (from inline signs like gitsigns.nvim to full interfaces like Neogit), none gave me exactly the workflow I wanted: a compact “pick commits, then diff them” experience.
So I built a plugin for that: gitlogdiff.nvim: a tiny Neovim plugin for listing recent Git commits and quickly seeing their diffs.
What gitlogdiff.nvim Does
At its core, gitlogdiff.nvim gives you:
A simple commit list, sourced from git log, showing your recent history
Easy navigation with j/k and selecting commits with
Pressing opens a diff view (via diffview.nvim) comparing commits
This workflow feels much closer to the Git log explorer I used in JetBrains, right inside Neovim, without leaving your editor.
Try It & Feedback
The plugin is on GitHub - here. Drop issues, ideas, or pull requests! It’s meant to stay lightweight but extendable, and someday might support alternative diff viewers beyond Diffview too.
Happy viming! 🧑💻
Top comments (0)