Use one space, not two, after punctuation.

When using a join command (`gq`, `J`), vim defaults to adding two spaces
after '.', '?', and '!'.

Setting `nojoinspaces` causes vim to only insert a single space.
This commit is contained in:
Bernerd Schaefer 2015-12-08 15:01:28 -08:00
parent 76aa931b77
commit 68b6446b9a

3
vimrc
View file

@ -68,6 +68,9 @@ set expandtab
" Display extra whitespace
set list listchars=tab:»·,trail,nbsp
" Use one space, not two, after punctuation.
set nojoinspaces
" Use The Silver Searcher https://github.com/ggreer/the_silver_searcher
if executable('ag')
" Use Ag over Grep