Undo nvim diff viewier for now since it's broken

This commit is contained in:
Daniel Flanagan 2021-07-07 12:27:05 -05:00
parent 87ca18d78e
commit 112b157f2f
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -58,11 +58,11 @@
[pager]
branch = false
# remove ansi codes, pad each file's diff with newlines, show as diff, remove top padding
diff = nvim -c 'silent %sm/\\e[^mK]*[mK]//g' \
-c 'silent %s/^diff/\\r\\rdiff/' \
-c 'silent set ft=diff' \
-c 'silent execute \"normal gg2dd\"' \
-c 'silent setlocal nobuflisted buftype=nofile bufhidden=wipe noswapfile'
# diff = nvim -c 'silent %sm/\\e[^mK]*[mK]//g' \
# -c 'silent %s/^diff/\\r\\rdiff/' \
# -c 'silent set ft=diff' \
# -c 'silent execute \"normal gg2dd\"' \
# -c 'silent setlocal nobuflisted buftype=nofile bufhidden=wipe noswapfile'
[url "git@github.com:postmates"]
insteadOf = https://github.com/postmates