recentpopularlog in

aries1988 : diff   9

vim - Viewing all `git diffs` with vimdiff - Stack Overflow
git config --global diff.tool vimdiff
git config --global difftool.prompt false
git config --global alias.d difftool
Typing git d yields the expected behavior, typing :wq in vim cycles to the next file in the changeset.
git  diff  vim 
february 2017 by aries1988
Coderwall | From a useless Git Diff to a useful one
Every time you commit trailing spaces a panda dies.
git  diff 
may 2016 by aries1988
Git Diff with Vimdiff | Jonathan's Techno-tales
function git_diff() {
git diff --no-ext-diff -w "$@" | vim -R –

--no-ext-diff : to prevent using vimdiff
-w : to ignore whitespace
-R : to start vim in read-only mode
– : to make vim act as a pager
diff  git  vim  vimdiff  howto  linux 
july 2015 by aries1988
Git and Vimdiff
git log --pretty=format:"[%h] %ae, %ar: %s" --stat
diff  git  programming  vim  best  practice 
march 2015 by aries1988
vim - Is there a way to configure vimdiff to ignore ALL whitespaces? - Stack Overflow
set diffopt+=iwhite
set diffexpr=DiffW()
function DiffW()
let opt = ""
if &diffopt =~ "icase"
let opt = opt . "-i "
if &diffopt =~ "iwhite"
let opt = opt . "-w " " vim uses -b by default
silent execute "!diff -a --binary " . opt .
\ v:fname_in . " " . v:fname_new . " > " . v:fname_out
vim  fortran  git  howto  diff 
september 2014 by aries1988

Copy this bookmark:

to read