diff --git a/vimrc b/vimrc index fc66370cf8..c9ed3e05d0 100644 --- a/vimrc +++ b/vimrc @@ -173,7 +173,11 @@ set spellfile=$HOME/.vim-spell-en.utf-8.add set complete+=kspell " Always use vertical diffs -set diffopt+=vertical +" set diffopt+=vertical +if &diff + set diffopt-=internal + set diffopt+=vertical +endif " Local config if filereadable($HOME . "/.vimrc.local")