plugins.git-worktree.enable

Whether to enable git-worktree.

Type: boolean

Default: false

Example: true

Declared by:

plugins.git-worktree.enableTelescope

Whether to enable telescope integration.

Type: boolean

Default: false

Example: true

Declared by:

plugins.git-worktree.package

Which package to use for the git-worktree plugin.

Type: package

Default: <derivation vimplugin-git-worktree.nvim-2023-11-07>

Declared by:

plugins.git-worktree.autopush

When creating a new worktree, it will push the branch to the upstream then perform a git rebase.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.git-worktree.changeDirectoryCommand

The vim command used to change to the new worktree directory. Set this to tcd if you want to only change the pwd for the current vim Tab.

Plugin default: "cd"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.git-worktree.clearJumpsOnChange

If set to true every time you switch branches, your jumplist will be cleared so that you don’t accidentally go backward to a different branch and edit the wrong files.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.git-worktree.updateOnChange

If set to true updates the current buffer to point to the new work tree if the file is found in the new project. Otherwise, the following command will be run.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.git-worktree.updateOnChangeCommand

The vim command to run during the update_on_change event. Note, that this command will only be run when the current file is not found in the new worktree. This option defaults to e . which opens the root directory of the new worktree.

Plugin default: "e ."

Type: null or string or raw lua code

Default: null

Declared by: