Skip to content

Commit

Permalink
[vim] enhance diffs
Browse files Browse the repository at this point in the history
- set diff algorithm to patience
- add indent-heuristic
  • Loading branch information
joaofnds committed Jan 6, 2020
1 parent 25f7da1 commit 45ed6bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dot_vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ set nocompatible

set splitbelow " Default horizontal split direction
set splitright " Default vertical split direction
set diffopt+=algorithm:patience
set diffopt+=indent-heuristic

" Re-balance when vim is resize
autocmd VimResized * :wincmd =
Expand Down

0 comments on commit 45ed6bf

Please sign in to comment.