]> git.rmz.io Git - dotfiles.git/commitdiff
vim: have less verbose messages
authorSamir Benmendil <me@rmz.io>
Sun, 23 Oct 2016 23:23:42 +0000 (00:23 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 23 Oct 2016 23:23:42 +0000 (00:23 +0100)
vim/vimrc

index c6aee808e02f8389f501dee99b7b13826d64b4d5..cf8068e58f342b90b06e9183cece667dd743eceb 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -156,10 +156,18 @@ set mouse=rnv                   " list of flags for using the mouse
 set ttymouse=xterm              " type of mouse
 
 " messages and info {{{2
-set showcmd                     " Show (partial) command in status line.
-set ruler                       " show the cursor position all the time
-set confirm                     " Ask what to do when closing unsaved documents
-set shortmess=filnxtoOI         " don't show intro message
+set showcmd         " Show (partial) command in status line.
+set ruler           " show the cursor position all the time
+set confirm         " Ask what to do when closing unsaved documents
+set shortmess=      " reset option
+set shortmess+=a    " all abbreviations
+set shortmess+=o    " overwrite file-written message
+set shortmess+=O    " file-read message overrides previous
+set shortmess+=t    " truncate file message at start
+set shortmess+=T    " truncate other messages in the middle
+set shortmess+=W    " don't give 'written' or '[w]' when writing a file
+set shortmess+=A    " ignore swapfile warning
+set shortmess+=I    " no splash screen
 
 " editing text {{{2
 set backspace=indent,eol,start  " allow backspacing over everything in insert mode