aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/config/nrformats.vim3
-rw-r--r--vim/vimrc4
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
diff --git a/vim/vimrc b/vim/vimrc
index 11746738..a5849694 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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