restore git-worktree

This commit is contained in:
Sam 2025-01-16 21:15:38 +00:00
parent 8be8c217d3
commit cc4c6467aa
1 changed files with 9 additions and 27 deletions

View File

@ -1,4 +1,3 @@
{pkgs, ...}:
{
programs.nixvim.keymaps = [
# Switching worktrees
@ -15,30 +14,13 @@
options = {noremap = true;};
}
];
programs.nixvim.extraPlugins = [
(pkgs.vimUtils.buildVimPlugin
{
name = "git-worktree.nvim";
src = pkgs.fetchFromGitHub {
owner = "glow.nvim";
repo = "git-worktree.nvim";
rev = "bac72c2";
sha256 = "";
};
})
];
programs.nixvim.extraConfigLua = ''
'';
# programs.nixvim.plugins.git-worktree = {
# enable = true;
# enableTelescope = true;
# autopush = true;
# changeDirectoryCommand = "cd";
# clearJumpsOnChange = true;
# updateOnChange = true;
# updateOnChangeCommand = "e .";
# };
programs.nixvim.plugins.git-worktree = {
enable = true;
enableTelescope = true;
autopush = true;
changeDirectoryCommand = "cd";
clearJumpsOnChange = true;
updateOnChange = true;
updateOnChangeCommand = "e .";
};
}