aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-06 20:06:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-06 20:06:04 +1200
commit723d5579af68baa9178a392d4d6237e8390106eb (patch)
tree6c4ba61cf1ecb9e76b4192ae55b6e979aeb2a23b /vim
parent6334ea24776cdb53d8ad017cbc8f749173ca43e6 (diff)
downloaddotfiles-723d5579af68baa9178a392d4d6237e8390106eb.tar.gz
dotfiles-723d5579af68baa9178a392d4d6237e8390106eb.zip
Inline some option flag comments
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc48
1 files changed, 16 insertions, 32 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2bfa7150..201ffb02 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -47,12 +47,9 @@ endif
" Let me backspace over pretty much anything
set backspace=
-" Allow backspacing over autoindent
-set backspace+=indent
-" Allow backspacing over line breaks
-set backspace+=eol
-" Allow backspacing over the start of the insert operation
-set backspace+=start
+set backspace+=indent " Spaces from 'audoindent'
+set backspace+=eol " Line breaks
+set backspace+=start " The start of current insertion
" Default to no backup files at all, in a way that even ancient/tiny Vims will
" understand; the auto_cache_dirs.vim plugin will take care of re-enabling
@@ -141,32 +138,19 @@ endif
" Set up short message settings
set shortmess=
-" (file 3 of 5) -> (3 of 5)
-set shortmess+=f
-" [Incomplete last line] -> [eol]
-set shortmess+=i
-" I donated to Uganda, thanks Bram
-set shortmess+=I
-" 999 lines, 888 characters -> 999L, 888C
-set shortmess+=l
-" [Modified] -> [+]
-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
-" Truncate file message at start if too long
-set shortmess+=t
-" Truncate other message in midle if too long
-set shortmess+=T
-" written -> [w], appended -> [a]
-set shortmess+=w
-" [dos format] -> [dos]
-set shortmess+=x
+set shortmess+=f " (file 3 of 5) -> (3 of 5)
+set shortmess+=i " [Incomplete last line] -> [eol]
+set shortmess+=I " I donated to Uganda, thanks Bram
+set shortmess+=l " 999 lines, 888 characters -> 999L, 888C
+set shortmess+=m " [Modified] -> [+]
+set shortmess+=n " [New File] -> [New]
+set shortmess+=o " Don't stack file writing messages
+set shortmess+=O " Don't stack file reading messages
+set shortmess+=r " [readonly] -> [RO]
+set shortmess+=t " Truncate file message at start if too long
+set shortmess+=T " Truncate other message in midle if too long
+set shortmess+=w " written -> [w], appended -> [a]
+set shortmess+=x " [dos format] -> [dos]
" Don't show whitespace characters or end-of-line characters visually by
" default, but make \l toggle between them