Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 5986e7e8d6a38f049d000005

Palindrome numbers

For each number compute its associated palindrome. First number (first line) has been eaten! #prime

Start file
??
211
2111
10111
12011
20021
21101
End file
121
23632
2347432
112242211
132373231
240292042
213373312

View Diff

1,7c1,7
< ??
< 211
< 2111
< 10111
< 12011
< 20021
< 21101
---
> 121
> 23632
> 2347432
> 112242211
> 132373231
> 240292042
> 213373312

Solutions by @jkrause314:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @mcr05

16 active golfers, 29 entries

Solutions by @jkrause314:
30
#7 - Jon Krause / @jkrause314

12/09/2020 at 04:10AM