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

plugins.neogit.settings

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

Type: open submodule of attribute set of anything

Default: { }

Example:

{
  commit_popup = {
    kind = "floating";
  };
  disable_builtin_notifications = true;
  disable_commit_confirmation = true;
  integrations = {
    diffview = false;
  };
  kind = "floating";
  mappings = {
    status = {
      a = "Stage";
      l = "Toggle";
    };
  };
  popup = {
    kind = "floating";
  };
  preview_buffer = {
    kind = "floating";
  };
  sections = {
    recent = {
      folded = true;
    };
    staged = {
      folded = false;
    };
    stashes = {
      folded = false;
    };
    unmerged = {
      folded = true;
    };
    unpulled = {
      folded = false;
    };
    unstaged = {
      folded = false;
    };
    untracked = {
      folded = false;
    };
  };
}

Declared by:

plugins.neogit.settings.telescope_sorter

Allows a different telescope sorter. Defaults to ‘fuzzy_with_index_bias’. The example below will use the native fzf sorter instead. By default, this function returns nil.

Example:

  require("telescope").extensions.fzf.native_fzf_sorter

Type: null or lua code string

Default: null

Declared by: