about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-07 22:40:47 +0900
committersefidel <contact@sefidel.net>2022-02-07 22:40:47 +0900
commita22fc7f278174b165dea261b5fda70bc46d15207 (patch)
treed14fced1e370ceb4d88f4d3a564317efddf4ee3d /home
parent987df775019d6250c9ddec9e7a664a964ad9f85b (diff)
downloadnixrc-a22fc7f278174b165dea261b5fda70bc46d15207.tar.gz
nixrc-a22fc7f278174b165dea261b5fda70bc46d15207.zip
feat(base/development): set mergetool
Diffstat (limited to 'home')
-rw-r--r--home/profiles/base/default.nix1
-rw-r--r--home/profiles/development/default.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 7e67dc6..f2f7883 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -192,6 +192,7 @@ in
 
       zshell.aliases = {
         e = "nvim";
+        nvimdiff = "nvim -d";
       };
 
       zoxide = {
diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix
index af06caf..c823532 100644
--- a/home/profiles/development/default.nix
+++ b/home/profiles/development/default.nix
@@ -37,6 +37,9 @@ in
       extraConfig = {
         init.defaultBranch = "main";
         pull.rebase = true;
+
+        merge.tool = "nvimdiff";
+        mergetool.prompt = false;
       };
 
       ignores = [