aboutsummaryrefslogtreecommitdiff
path: root/vim/config/display.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 23:57:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 23:57:01 +1300
commit36464257ccdf992bf5d808694c40ff62e1c85604 (patch)
tree3b0848f2c95c82b400f813066c5c08a66f8306c7 /vim/config/display.vim
parentab808d7dcfedda770e648ed6a731a1f17e900db8 (diff)
downloaddotfiles-36464257ccdf992bf5d808694c40ff62e1c85604.tar.gz
dotfiles-36464257ccdf992bf5d808694c40ff62e1c85604.zip
Add 'o' and 'O' back into 'shortmess'
These flags prevent multiple messages from reading or writing multiple files from queuing up and forcing an enter prompt. They're part of the default, which is why I didn't notice their absence until I tried using the setting previous to this commit and opened two files at once.
Diffstat (limited to 'vim/config/display.vim')
-rw-r--r--vim/config/display.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/display.vim b/vim/config/display.vim
index 1f186572..37ef18c7 100644
--- a/vim/config/display.vim
+++ b/vim/config/display.vim
@@ -10,6 +10,10 @@ set shortmess+=l
set shortmess+=m
" [New File] -> [New]
set shortmess+=n
+" Don't stack file writing messages
+set shortmess+=o
+" Don't stack file reading messages
+set shortmess+=O
" [readonly] -> [RO]
set shortmess+=r
" written -> [w], appended -> [a]