Display a diff gutter preview in a tooltip.
This plugin functions only with files tracked by Git.
With the cursor positioned over a marked line in the diff gutter, execute the command (Ctrl+E) diff-preview
to open a tooltip displaying the diff preview.
You can use these bindings to navigate the diff while opening the previews in a tooltip.
"Alt-(": "DiffPrevious&command:diff-preview",
"Alt-)": "DiffNext&command:diff-preview",
Copy/clone this repository directly to your .config/micro/plug
.
⚠️ Do NOT change the name of the plugin directory. It is used as a prefix to avoid path collisions inpackage.path
when requiring modules.
In Linux, you can copy/clone the repo anywhere and create a symlink inside .config/micro/plug
using the ENABLE_FOR_MICRO.sh
script.