From efcd0f60b73654753520133f29a0410963686215 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 28 Mar 2021 14:55:41 +0300 Subject: [PATCH] histogram diff algorithm is cooler --- git/.gitconfig | 2 +- vim/.vimrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/git/.gitconfig b/git/.gitconfig index 1d84f08..267fd0e 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -31,7 +31,7 @@ [notes] displayRef = * [diff] - algorithm = patience + algorithm = histogram tool = vimdiff [grep] lineNumber = true diff --git a/vim/.vimrc b/vim/.vimrc index 2c728ba..9e05e06 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -34,6 +34,7 @@ set showmatch set listchars=trail:·,tab:>→,nbsp:% ",eol:¶ set list set completeopt-=preview +set diffopt+=indent-heuristic,algorithm:histogram set cursorline set cursorcolumn -- 2.44.0