Merge branch 'nixvim' of git.bitlab21.com:sam/nixos into nixvim
This commit is contained in:
commit
cd865fdf9b
|
@ -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.plugins.git-worktree = {
|
||||
enable = true;
|
||||
enableTelescope = true;
|
||||
autopush = true;
|
||||
changeDirectoryCommand = "cd";
|
||||
clearJumpsOnChange = true;
|
||||
updateOnChange = true;
|
||||
updateOnChangeCommand = "e .";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
programs.nixvim.extraConfigLua = ''
|
||||
'';
|
||||
# programs.nixvim.plugins.git-worktree = {
|
||||
# enable = true;
|
||||
# enableTelescope = true;
|
||||
# autopush = true;
|
||||
# changeDirectoryCommand = "cd";
|
||||
# clearJumpsOnChange = true;
|
||||
# updateOnChange = true;
|
||||
# updateOnChangeCommand = "e .";
|
||||
# };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue