diff options
author | Ben Sima <bsima@groq.com> | 2022-03-09 09:28:28 -0800 |
---|---|---|
committer | Ben Sima <bsima@groq.com> | 2022-03-09 09:28:39 -0800 |
commit | 3f1e56299d0d571057c047631caae7c34a0ff1e0 (patch) | |
tree | 02bc0d0f51815293c6d07c8534fdc3f8f83f69d9 /lib/common.nix | |
parent | 0f6fe9c10e8866ff7f33735223541cebcbd4f318 (diff) |
add vim-fugitive and disable color theme for vimdiff usage
Diffstat (limited to 'lib/common.nix')
-rw-r--r-- | lib/common.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common.nix b/lib/common.nix index a87ebb5..aafb1dc 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -115,6 +115,8 @@ in pull.rebase = "true"; commit.template = "${./git-commit-template}"; commit.verbose = "true"; + mergetool.fugitive.cmd = ''vim -f -c "Gvdiffsplit!" "$MERGED"''; + merge.tool = "fugitive"; sendemail = { #smtpuser = "ben@bsima.me"; #smtpserverport = 587; @@ -229,6 +231,7 @@ in plugins = with pkgs.vimPlugins; [ editorconfig-vim vim-sensible + vim-fugitive vim-colorschemes vim-sexp-mappings-for-regular-people # vim-ripgrep # not in nixpkgs :( |