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

gitportal

URL: https://github.com/trevorhauter/gitportal.nvim/

Maintainers: Paul Hinze


Bridges Neovim and Git hosting platforms, enabling users to open files in browser and open Git permalinks in Neovim.

plugins.gitportal.enable

Whether to enable gitportal.

Type: boolean

Default: false

Example: true

Declared by:

plugins.gitportal.package

The gitportal package to use.

Type: package

Default: pkgs.vimPlugins.gitportal-nvim

Declared by:

plugins.gitportal.autoLoad

Whether to automatically load gitportal when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.gitportal.settings

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

Type: lua value

Default: { }

Example:

{
  always_include_current_line = true;
  default_remote = "upstream";
  switch_branch_or_commit_upon_ingestion = "ask_first";
}

Declared by: