dannyman.toldme.com

About Me : Free Style : Good Reads : News and Reaction : Photographs : Technical : Travels : Unsorted

Search:
January 23, 2008
Technical

TIP: Vim can add and subtract!

I have been using Vim for years, and have any number of times (say, when dealing with DNS configuration) had to edit many lines, changing integers by a constant value, and it was always a hassle to repeatedly switch modes and type in a new number. “There must be some macro or other special mojo,” I thought, “and sometime, I will figure this out.”

Well, there is special mojo, and the figuring it out is so dead simple I kick myself for not knowing this years ago:

Vim Tip 287: Cool trick to change numbers

Yes, I rated that tip as “life changing”!

Read More

Next: $20,000 “Siphon Coffee”
Previous: NAQ: Tellme Application Advice
Categories: Technical
Possibly-Related Posts
Hell’s Waiting Room
What’s Your Birthday?
Thank You Magic Civil Servant Supervisor Lady!
DST Productivity Drain
New Hampshire Numbers
Indian Numerals and Latin Numbers
Rust Spots

Response

June 19th, 2008

Sharath

Hi Danny,

This is one of very good feature in Vim. Thanks for giving a very useful information.

Regards,
Sharath.

Comment / Tip

. . . or leave a Tip

Leave a comment . . .

  1. For private messages, e-mail me: dannyman@toldme.com
  2. I will not publish or share your e-mail address.
  3. I will not spam you.
  4. Therefor: no anonymous posts; send me your e-mail address!
(required)
(required)

. . . comments from new posters will be held for screening.

Danny Howard is 100% responsible for the content on this site, except some of it is stolen.

All rights are reserved, unless otherwise noted. Generally, I'm a BSD guy, so you can assume implicit permission to adapt, modify, and redistribute my intellectual property with appropriate attribution. Except some of this content is itself re-appropriated, so you'd best ask first, especially for commercial use. Thanks!

You can contact me via e-mail: dannyman@toldme.com

Most of http://dannyman.toldme.com/ is powered by WordPress.

If you're hip to RSS and whatnot, you can subscribe to this site.

These links are for dannyman: login AND backlinks