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:
parent
76aa931b77
commit
68b6446b9a
1 changed files with 3 additions and 0 deletions
3
vimrc
3
vimrc
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue