On 24/12/12 02:55, stosss wrote:
> *CTRL-A*
> CTRL-A Add [count] to the number or alphabetic character at
> or after the cursor. {not in Vi}
>
> *CTRL-X*
> CTRL-X Subtract [count] from the number or alphabetic
> character at or after the cursor. {not in Vi}
>
> These use to work as described from help but now they are doing the
> opposite. I don't know how that happened.
>
From the answers you got, I see you weren't the first to fall into the
same pitfall. Me too I was surprised the first time, and then after some
seconds the penny fell and I realized that Vim cannot tell apart a dash
(a "-" punctuation mark, as in 2012-12-25 or firefox-20.0a1) and a minus
sign. I still occasionally fall into it, and then it's "Duh! I forgot
that for Vim, a dash before a number makes the number negative".
Merry Christmas!
Tony.
--
The duck hunter trained his retriever to walk on water. Eager to show
off this amazing accomplishment, he asked a friend to go along on his
next hunting trip. Saying nothing, he fired his first shot and, as the
duck fell, the dog walked on the surface of the water, retrieved the
duck and returned it to his master.
"Notice anything?" the owner asked eagerly.
"Yes," said his friend, "I see that fool dog of yours can't swim."
--
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
Tuesday, December 25, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment