diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 23:27:23 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 23:27:23 +1300 |
commit | 8f04731c15697ed92562bed2b6110de53cee1017 (patch) | |
tree | a188d34351aec6d7ca8089f1819cc2cdbf5fa331 /vim | |
parent | Reimplement stable normal-mode J join mapping (diff) | |
download | dotfiles-8f04731c15697ed92562bed2b6110de53cee1017.tar.gz dotfiles-8f04731c15697ed92562bed2b6110de53cee1017.zip |
Move 'joinspaces' Vim config to join subfile
It makes much more sense in this file than it did in the whitespace
configuration file.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/config/join.vim | 3 | ||||
-rw-r--r-- | vim/config/whitespace.vim | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/vim/config/join.vim b/vim/config/join.vim index 7365c85e..7d764dce 100644 --- a/vim/config/join.vim +++ b/vim/config/join.vim @@ -1,3 +1,6 @@ +" Don't join lines with two spaces at the end of sentences; I don't two-space, +" despite the noble Steve Losh's exhortations +set nojoinspaces " Keep my cursor in place when I join lines if has('eval') diff --git a/vim/config/whitespace.vim b/vim/config/whitespace.vim index d678ae8a..446a07de 100644 --- a/vim/config/whitespace.vim +++ b/vim/config/whitespace.vim @@ -1,7 +1,3 @@ -" Don't join lines with two spaces at the end of sentences; I don't two-space, -" despite the noble Steve Losh's exhortations -set nojoinspaces - " Strip trailing whitespace with \x if has('eval') |