Undo nvim diff viewier for now since it's broken
This commit is contained in:
parent
87ca18d78e
commit
112b157f2f
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue