git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b8dba
)
Set diff mode columns sensibly.
author
Iain Patterson
<me@iain.cx>
Thu, 9 Jul 2009 14:25:11 +0000
(15:25 +0100)
committer
Iain Patterson
<me@iain.cx>
Thu, 16 Jul 2009 14:34:45 +0000
(15:34 +0100)
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
6e26f27
..
65d8895
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-467,7
+467,9
@@
se diffopt=filler,iwhite
" Expand window when doing a vertical diff.
if &diff
- let &columns = 164
+ if &columns < 161
+ let &columns = &columns * 2
+ endif
endif
" Remember that we are opening the quickfix window.