diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:26:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:28:53 +1300 |
commit | 67f2fdc6d8679d5932b0bc9c757db79735d81b09 (patch) | |
tree | 695c4b56bf18a63036bbb13ccb28a0b3c1b8fb64 /vim | |
parent | Move backspace .vimrc config into subfile (diff) | |
download | dotfiles-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.vim | 3 | ||||
-rw-r--r-- | vim/vimrc | 4 |
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 @@ -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 |