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
The git-worktree package to use.
Type: package
Default:
pkgs.vimPlugins.git-worktree-nvim
Declared by:
plugins.git-worktree.autopush
When creating a new worktree, it will push the branch to the upstream then perform a git rebase
.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
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.
Type: null or string or raw lua code
Default:
null
Plugin default: "cd"
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.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.git-worktree.gitPackage
The git package to use.
Type: null or package
Default:
pkgs.git
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.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
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.
Type: null or string or raw lua code
Default:
null
Plugin default: "e ."
Declared by: