Installed diffview
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
#./openscad.nix
|
#./openscad.nix
|
||||||
#./molten.nix
|
#./molten.nix
|
||||||
./which-key.nix
|
./which-key.nix
|
||||||
|
./diffview.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
_: {
|
||||||
|
programs.nixvim = {
|
||||||
|
plugins.diffview = {
|
||||||
|
enable = true;
|
||||||
|
keymaps = {
|
||||||
|
"]x" = "<cmd>DiffviewConflictNext<CR>";
|
||||||
|
"[x" = "<cmd>DiffviewConflictPrev<CR>";
|
||||||
|
"do" = "<cmd>DiffviewFocusOurs<CR>";
|
||||||
|
"dt" = "<cmd>DiffviewFocusTheirs<CR>";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -7,16 +7,25 @@
|
|||||||
"*" = {
|
"*" = {
|
||||||
addKeysToAgent = "yes";
|
addKeysToAgent = "yes";
|
||||||
};
|
};
|
||||||
|
|
||||||
"*.cyperpunk.de" = {
|
"*.cyperpunk.de" = {
|
||||||
identityFile =
|
identityFile =
|
||||||
if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh";
|
if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh";
|
||||||
user = primaryUser;
|
user = primaryUser;
|
||||||
};
|
};
|
||||||
|
|
||||||
"github.com" = {
|
"github.com" = {
|
||||||
identityFile =
|
identityFile =
|
||||||
if isDarwin then "/Users/${primaryUser}/.ssh/github" else "/home/${primaryUser}/.ssh/github";
|
if isDarwin then "/Users/${primaryUser}/.ssh/github" else "/home/${primaryUser}/.ssh/github";
|
||||||
user = "git";
|
user = "git";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"git.rz.tu-bs.de" = {
|
||||||
|
identityFile =
|
||||||
|
if isDarwin then "/Users/${primaryUser}/.ssh/github" else "/home/${primaryUser}/.ssh/github";
|
||||||
|
|
||||||
|
user = "git";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user