]> git.rmz.io Git - dotfiles.git/commitdiff
vim: include bin in nrformats, i.e. only disable octal
authorSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 01:04:16 +0000 (01:04 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 02:35:28 +0000 (02:35 +0000)
vim/vimrc

index 9d85de212acfdca0deaf1936ac1d3114f86faa7f..9af477ef6cbb071428d725a65319237fe8bc8502 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -257,7 +257,7 @@ set formatoptions+=l    " do not wrap lines that have been longer when starting
 set formatoptions+=t    " Auto-wrap text using textwidth
 set formatoptions-=o    " Do not insert comment leader after hitting o or O in normal mode
 
-set nrformats=hex               " number formats recognized for CTRL-A and CTRL-X commands
+set nrformats-=octal    " don't inc/dec octal numbers with ^[AX]
 
 set complete=.       " scan the current buffer ( 'wrapscan' is ignored)
 set complete+=w      " scan buffers from other windows