Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

codediff

URL: https://github.com/esmuellert/codediff.nvim/

Maintainers: Gaetan Lepage

plugins.codediff.enable

Whether to enable codediff.

Type: boolean

Default:

false

Example:

true

Declared by:

plugins.codediff.package

The codediff package to use.

Type: package

Default:

pkgs.vimPlugins.codediff-nvim

Declared by:

plugins.codediff.autoLoad

Whether to automatically load codediff when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example:

false

Declared by:

plugins.codediff.settings

Options provided to the require('codediff').setup function.

Type: lua value

Default:

{ }

Example:

{
  highlights = {
    char_delete = "#4d3538";
    char_insert = "#3d4f35";
    line_delete = "#362c2e";
    line_insert = "#2a3325";
  };
  keymaps = {
    explorer = {
      hover = "K";
      refresh = "R";
      select = "<CR>";
    };
    view = {
      next_file = "]f";
      next_hunk = "]c";
      prev_file = "[f";
      prev_hunk = "[c";
    };
  };
}

Declared by: