Customize git mergetool
This commit is contained in:
parent
3a0c029419
commit
5eba7c2218
2 changed files with 9 additions and 1 deletions
home/features
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }: {
|
||||
#Prefer IPv4 for ssh
|
||||
# home.file.".ssh/config".text = "AddressFamily inet";
|
||||
|
||||
|
@ -13,6 +13,13 @@
|
|||
user.signingkey = "0x2C2C1C62A5388E82";
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = false; # merge by default
|
||||
merge.tool = "nvim";
|
||||
mergetool = {
|
||||
nvim = {
|
||||
cmd = "nvim -c 'DiffviewOpen'";
|
||||
};
|
||||
prompt = false;
|
||||
};
|
||||
};
|
||||
lfs.enable = true;
|
||||
aliases = {
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
barbar.enable = true;
|
||||
rainbow-delimiters.enable = true;
|
||||
web-devicons.enable = true;
|
||||
diffview.enable = true;
|
||||
|
||||
telescope = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue