Paweł Grzybek on Nostr: You are all excited about the new AI features added to VSCode Copilot, or about the ...
You are all excited about the new AI features added to VSCode Copilot, or about the powerful refactors possible with Cursor. I am so excited about incrementing and decrementing numeric values in Vim/Neovim.
- <C-a> to increment - <C-x> to decrement - You can prefix with a count (ie. 10<C-a>) - If the cursor is not on a number, it will change the next one on the line
{
"id":"69e82fe3bde062446fd81c10b71972e693cd49cb571d0f4ae1a62aa469602fd5",
"pubkey":"84e83ac96b0bafa3015a20c7a54881305b3fa708aa57c3ae78d730724d61b11a",
"created_at":1732788618,
"kind":1,
"tags": [
[
"t",
"vim"
],
[
"t",
"neovim"
],
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/113/560/034/669/783/781/original/5cb2402abd657d61.mp4",
"m video/mp4",
"dim 2776x2160",
"blurhash U97Jqv].|L;kw]$jr?wy62EzB9FbSeNuNtNt"
],
[
"proxy",
"https://mastodon.social/users/pawelgrzybek/statuses/113560034913056105",
"activitypub"
]
],
"content":"You are all excited about the new AI features added to VSCode Copilot, or about the powerful refactors possible with Cursor. I am so excited about incrementing and decrementing numeric values in Vim/Neovim.\n\n- \u003cC-a\u003e to increment\n- \u003cC-x\u003e to decrement\n- You can prefix with a count (ie. 10\u003cC-a\u003e)\n- If the cursor is not on a number, it will change the next one on the line\n\nCan your fancy editor do it?\n\n#vim #neovim\n\nhttps://files.mastodon.social/media_attachments/files/113/560/034/669/783/781/original/5cb2402abd657d61.mp4",
"sig":"d0f72726f2c66670a9d6ef3b641a88d95d26779f6966bae6c136e9eb2f869e8b9763448035eaff4d4c571b8d5cbd31d73fdd67660fcf58772078a54120663065"
}