From 63596ba1b4207115116bff9257d52c16964f612a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 26 Dec 2018 18:30:57 +1300 Subject: Switch to two-space sentences You win, Steve Losh. --- vim/vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vim') 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 -- cgit v1.2.3