Saturday, March 5, 2016

Odd vim bug with Ctrl-A?

Hey Guys,

I'm attempting to use Ctrl-A to autoincrement a number. However, it has some odd behavior that I hope someone can shed some light on.

1) When it is a number that is not prefixed by a 0, it works as expected.

2) When there is a 0 prefix, the autoincrement jumps from 07 to 010


06 -- Ctrl-A --> 07 -- Ctrl-A --> 010

Any idea what's going on?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment