Add difftastic as git diff
This commit is contained in:
		
							parent
							
								
									dffe33e507
								
							
						
					
					
						commit
						9bd99e2794
					
				
					 5 changed files with 19 additions and 12 deletions
				
			
		|  | @ -34,8 +34,8 @@ alias grep='grep --color=auto' | |||
| alias grep-highlight='grep -e "^" -e' | ||||
| 
 | ||||
| alias hist-grep='history 0 | grep ' | ||||
| alias http-server='python3 -m http.server' | ||||
| 
 | ||||
| alias icat="kitty +kitten icat" | ||||
| alias ip='ip -c' | ||||
| 
 | ||||
| alias j='jump' | ||||
|  | @ -50,8 +50,6 @@ alias make='make -j5' | |||
| alias mkdir='mkdir -pv' | ||||
| alias mv='mv -iv' | ||||
| 
 | ||||
| alias nixos-rebuild-tinker='sudo nixos-rebuild switch -p tinkering --no-build-nix' | ||||
| 
 | ||||
| alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' | ||||
| alias pacman-autoremove-opts='sudo pacman -Rns $(pacman -Qttdq)' | ||||
| alias ps-grep='ps aux | grep -v grep | grep' | ||||
|  | @ -60,7 +58,6 @@ alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG | |||
| 
 | ||||
| alias rm='rm -I --one-file-system -v' | ||||
| 
 | ||||
| alias sail='bash vendor/bin/sail' | ||||
| alias sl='ls' | ||||
| alias sudo='sudo ' | ||||
| 
 | ||||
|  |  | |||
|  | @ -27,6 +27,7 @@ export BEMENU_OPTS="--tb '#6272a4'\ | |||
|  --no-overlap\ | ||||
|  -P '>' -p ''" | ||||
| 
 | ||||
| export DFT_DISPLAY="side-by-side-show-both" | ||||
| export DMENU="bemenu" | ||||
| export DOCKER_BUILDKIT=1 | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,15 +5,21 @@ | |||
| [core] | ||||
| 	excludesfile = ~/.config/git/ignore | ||||
| 	editor = vim | ||||
| 	pager = less | ||||
| 	autocrlf = input | ||||
| [help] | ||||
| 	autocorrect = 20 | ||||
| 
 | ||||
| [diff] | ||||
| 	tool = vimdiff | ||||
| 	tool = difftastic | ||||
| 	external = difft | ||||
| [difftool] | ||||
| 	prompt = false | ||||
| 	trustExitCode = true | ||||
| [difftool "difftastic"] | ||||
| 	cmd = difft "$LOCAL" "$REMOTE" | ||||
| [pager] | ||||
| 	difftool = true | ||||
| 
 | ||||
| 
 | ||||
| [alias] | ||||
| 	b = branch -vv | ||||
| 	ci = commit | ||||
|  | @ -28,12 +34,10 @@ | |||
| 	lo = log --graph --decorate --oneline --all | ||||
| 	s = status | ||||
| 
 | ||||
| [log] | ||||
| 	date = iso | ||||
| [merge] | ||||
| 	tool = vim_mergetool | ||||
| 	conflictstyle = diff3 | ||||
| [mergetool "vim_mergetool"] | ||||
| 	cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE" | ||||
| 	trustExitCode = true | ||||
| 	conflictstyle = zdiff3 | ||||
| [sendemail] | ||||
| 	smtpserver = mail.serguzim.me | ||||
| 	smtpuser = tobias@msrg.cc | ||||
|  |  | |||
|  | @ -5,6 +5,8 @@ | |||
| 	home.packages = with pkgs; [ | ||||
| 		asciinema # tool to record terminal sessions | ||||
| 		bat # cat-alternative | ||||
| 		cachix # tool to manage nix binary caches | ||||
| 		difftastic # tool to compare files | ||||
| 		direnv # tool to load custom environments | ||||
| 		docker-credential-helpers | ||||
| 		doggo # dns client | ||||
|  |  | |||
							
								
								
									
										3
									
								
								.config/nix/nix.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.config/nix/nix.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| experimental-features = nix-command flakes | ||||
| substituters = https://cache.nixos.org https://hyprland.cachix.org https://devenv.cachix.org | ||||
| trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue