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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 15 remaining solutions by signing in and submitting your own entry
#16 조성식 / @Y9eKW0qxvsdIN6W - Score: 92 - 03/25/21 @ 02:26
kxxi121<Esc>jvbxi23632<Esc>jvbxi2347432<C->{jvbxi112242211<Esc>jddi<Esc>ddddo132373231<CR>240292042<CR>213373312<Esc>zzZZ

0 comments


Created by: @mcr05

16 active golfers, 29 entries

Leaderboard (lowest score wins):
30
#1 - Urtica dioica / @udioica

08/07/2017 at 03:58PM

30
#2 - John Braxler / @braxler

08/08/2017 at 03:34PM

30
#3 - Maricris Bonzo / @seemcat

08/10/2017 at 04:51AM

30
#4 - Gabriel Siqueira / @gabrielhsiq

08/11/2017 at 11:19AM

30
#5 - Roberto Carraretto / @robcarraretto

08/12/2017 at 01:45AM

30
#6 - Miłosz Łakomy / @foobar01123

01/02/2020 at 02:54AM

30
#7 - Jon Krause / @jkrause314

12/09/2020 at 04:10AM

30
#8 - Peppa Pig / @PeppaPi95550250

05/09/2024 at 08:25AM

30
#9 - nickGPT / @nickandbro

08/27/2024 at 05:29AM

33
#10 - Filipe Brandenburger / @filbranden

07/08/2019 at 04:30PM

33
#11 - pikjes / @pikjes2

07/16/2021 at 11:07AM

34
#12 - Saki Gw / @Sakigw

08/07/2017 at 12:23PM

34
#13 - Song Zheng / @songz

08/10/2017 at 01:06AM

34
#14 - Philippe Brouillard / @_kurowasan

08/12/2017 at 08:20PM

34
#15 - Marion Oldman / @ThatBigCock

01/17/2021 at 12:02AM

92
#16 - 조성식 / @Y9eKW0qxvsdIN6W

03/25/2021 at 02:26AM