aboutsummaryrefslogtreecommitdiff
path: root/vim/config/display.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 22:29:14 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 23:53:02 +1300
commitab808d7dcfedda770e648ed6a731a1f17e900db8 (patch)
tree26f0637ccb153345361e3c2c876ccce13a194be3 /vim/config/display.vim
parentUse exists+ test rather than exists& (diff)
downloaddotfiles-ab808d7dcfedda770e648ed6a731a1f17e900db8.tar.gz
dotfiles-ab808d7dcfedda770e648ed6a731a1f17e900db8.zip
Set up individual flags for 'shortmess'
Most of these are actually the default; may as well explicitly set and document them, however. t and T in particular are new.
Diffstat (limited to 'vim/config/display.vim')
-rw-r--r--vim/config/display.vim25
1 files changed, 23 insertions, 2 deletions
diff --git a/vim/config/display.vim b/vim/config/display.vim
index bb160915..1f186572 100644
--- a/vim/config/display.vim
+++ b/vim/config/display.vim
@@ -1,5 +1,26 @@
-" Don't show the Vim startup message, I have registered Vim and donated to
-" Uganda
+" Set up short message settings
+set shortmess=
+" (file 3 of 5) -> (3 of 5)
+set shortmess+=f
+" [Incomplete last line] -> [eol]
+set shortmess+=i
+" 999 lines, 888 characters -> 999L, 888C
+set shortmess+=l
+" [Modified] -> [+]
+set shortmess+=m
+" [New File] -> [New]
+set shortmess+=n
+" [readonly] -> [RO]
+set shortmess+=r
+" written -> [w], appended -> [a]
+set shortmess+=w
+" [dos format] -> [dos]
+set shortmess+=x
+" Truncate file message at start if too long
+set shortmess+=t
+" Truncate other message in midle if too long
+set shortmess+=T
+" I donated to Uganda, thanks Bram
set shortmess+=I
" Don't show whitespace characters or end-of-line characters visually by