jannotate.nvim

A neovim plugin to view `jujutsu file annotate` next to your code.

⧇ source

⧉ mirror

Installation

lazy.nvim

By default, jannotate adds keymaps that might not suit your style, or conflict with other plugins. You can customize, disable, or extend them with the `keymaps` option.

Here's the full configuration with its default values:

Keymaps

Unless disabled, these are the key bindings provided:

- `<space>a`, `:Jannotate` - Open the annotate sidebar.

- `gs` *(in source file, when annotate is open)* - Show details for the change at the cursor.

- `<CR>` *(in annotate sidebar)* - Show details for the change at the cursor.

- `q` *(in commit details buffer)* - Close the commit details view.

The `keymaps` configuration option allows you to customize keymaps. your

keymaps here **merge with defaults**, so you can add new bindings without

losing the default ones. If you want to disable a keymap, set it to `false`.

Available Actions

- toggle-annotations - Toggle the annotate sidebar (global action)

- show.annotate - Show commit details from annotate buffer

- show.source - Show commit details from source buffer

Examples