A Neovim plugin for displaying inline unified diffs directly in your buffer with a file tree explorer.
unified.nvim is a Neovim plugin that provides an inline, unified diff viewer, allowing developers to see Git changes directly within their editing buffer without switching to a separate window. It enhances the code review and version control workflow by integrating diff visualization seamlessly into the editor, featuring a file tree explorer, gutter signs, and hunk navigation.
Neovim users who frequently work with Git and want to review changes, stage hunks, or navigate diffs without leaving their editor buffer. It's particularly useful for developers who prefer an integrated workflow over separate terminal or GUI diff tools.
Developers choose unified.nvim for its seamless inline diff display that keeps focus on the code buffer, eliminating context switching. Its optional integration with snacks.nvim provides a richer file picker with diff previews and staging capabilities, while the customizable API allows for tailored hunk navigation and Git operations.
an inline, unified diff viewer for neovim
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Displays Git diffs directly in the Neovim buffer, eliminating context switching by keeping diff viewing within the editing workflow, as emphasized in the plugin's philosophy.
Includes a file tree explorer with Git status indicators (M, A, D, etc.), providing an overview of all changed files without leaving the editor.
Allows configuration of signs, highlights, and line symbols through the setup function, enabling personalized aesthetics for diff visualization.
Integration with snacks.nvim offers a feature-rich file picker with built-in diff previews and staging capabilities, extending functionality beyond the default tree.
Hunk navigation and actions require users to define their own keymaps, adding setup complexity compared to plugins with built-in mappings, as noted in the navigation section.
Requires a Nerd Font for file tree icons and optional snacks.nvim for advanced features, which can be barriers in minimal or restricted environments.
The plugin skips binary patches with a user message, making it ineffective for projects with binary assets like images or compiled files, as admitted in the hunk actions notes.