aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 6c16f033..122a108d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -84,6 +84,10 @@ endif
" Give me a prompt instead of just rejecting risky :write, :saveas
set confirm
+" Require two spaces for sentence objects
+" Yes, I have become a filthy two-spacer
+set cpoptions+=J
+
" Try to keep swapfiles in one system-appropriate dir
set directory^=$MYVIMRUNTIME/cache/swap//
@@ -135,9 +139,6 @@ set include=
" Show search matches as I type my pattern
set incsearch
-" Don't join lines with two spaces at the end of sentences
-set nojoinspaces
-
" Don't show a statusline if there's only one window
" This is the Vim default, but NeoVim changed it
if &laststatus != 1