Ancestors

Toot

Written by knutaf on 2024-10-26 at 16:35

discovered that the #vim command CTRL-a, which increments the numeric value under the cursor, also supports incrementing hex numbers when you have the 0x prefix. neato

=> More informations about this toot | More toots from knutaf@mastodon.gamedev.place

Descendants

Written by mx alex tax1a - 2020 (5) on 2024-10-26 at 16:50

@knutaf it also does octal and binary, iirc. you can :set nrformat= for when you don't want this, such as when you're incrementing zero-prefixed numbers. we knew about A already but we were giving someone advice on how to add a number to all the track titles in a given directory, and suggested to them that they use moreutils's vidir.

=> More informations about this toot | More toots from atax1a@infosec.exchange

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113374694312328480
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
301.809152 milliseconds
Gemini-to-HTML Time
0.343344 milliseconds

This content has been proxied by September (3851b).