aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:26:28 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:28:53 +1300
commit67f2fdc6d8679d5932b0bc9c757db79735d81b09 (patch)
tree695c4b56bf18a63036bbb13ccb28a0b3c1b8fb64 /vim
parentMove backspace .vimrc config into subfile (diff)
downloaddotfiles-67f2fdc6d8679d5932b0bc9c757db79735d81b09.tar.gz
dotfiles-67f2fdc6d8679d5932b0bc9c757db79735d81b09.zip
Move 'tildeop' .vimrc config into subfile
This is an awkward filename and very unlikely to ever have anything but this one setting in it, but I can't think of any logical other place to put it.
Diffstat (limited to 'vim')
-rw-r--r--vim/config/tildeop.vim3
-rw-r--r--vim/vimrc4
2 files changed, 3 insertions, 4 deletions
diff --git a/vim/config/tildeop.vim b/vim/config/tildeop.vim
new file mode 100644
index 00000000..bb21aefd
--- /dev/null
+++ b/vim/config/tildeop.vim
@@ -0,0 +1,3 @@
+" Use the tilde as an operator with motions, rather than just swapping the
+" case of the character under the cursor
+set tildeop
diff --git a/vim/vimrc b/vim/vimrc
index 5b5851d8..ce487bc4 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -31,7 +31,3 @@ nnoremap J mzJ`z
" Don't assume a number with a leading zero is octal; it's far more likely a
" zero-padded decimal, so increment and decrement with ^A and ^X on that basis
set nrformats-=octal
-
-" Use the tilde as an operator with motions, rather than just swapping the
-" case of the character under the cursor
-set tildeop