From: Sergey Matveev Date: Sun, 28 Mar 2021 11:55:41 +0000 (+0300) Subject: histogram diff algorithm is cooler X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=efcd0f60b73654753520133f29a0410963686215 histogram diff algorithm is cooler --- 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