aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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