diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:27:37 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:29:16 +1300 |
commit | 2bbea0927b8ec1be00e6aa78ff92882bd271d4f1 (patch) | |
tree | b6b2bcde660b6e10d9e361ec6f0f3270693ee667 | |
parent | Move line-joining .vimrc config into subfile (diff) | |
download | dotfiles-2bbea0927b8ec1be00e6aa78ff92882bd271d4f1.tar.gz dotfiles-2bbea0927b8ec1be00e6aa78ff92882bd271d4f1.zip |
Move 'nrformats' .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. number.vim applies to line numbering, which is a distinct
concept.
-rw-r--r-- | vim/config/nrformats.vim | 3 | ||||
-rw-r--r-- | vim/vimrc | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/vim/config/nrformats.vim b/vim/config/nrformats.vim new file mode 100644 index 00000000..09fe8c73 --- /dev/null +++ b/vim/config/nrformats.vim @@ -0,0 +1,3 @@ +" 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 @@ -22,7 +22,3 @@ if v:version >= 701 silent! colorscheme sahara endif endif - -" 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 |