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 9v006ada8df200000000088e

Filename Flip

Rearrange the MP3 filenames so that the identifier comes before the name.

Start file
Bass-Technique-Finger-Gym-Album.jpg
Example_1a.mp3
Example_1b.mp3
Example_1c.mp3
Example_1d.mp3
Example_1e.mp3
Example_2a.mp3
Example_2b.mp3
Example_2c.mp3
Example_2d.mp3
Example_2e.mp3
End file
Bass-Technique-Finger-Gym-Album.jpg
1a_Example.mp3
1b_Example.mp3
1c_Example.mp3
1d_Example.mp3
1e_Example.mp3
2a_Example.mp3
2b_Example.mp3
2c_Example.mp3
2d_Example.mp3
2e_Example.mp3

View Diff

2,11c2,11
< Example_1a.mp3
< Example_1b.mp3
< Example_1c.mp3
< Example_1d.mp3
< Example_1e.mp3
< Example_2a.mp3
< Example_2b.mp3
< Example_2c.mp3
< Example_2d.mp3
< Example_2e.mp3
---
> 1a_Example.mp3
> 1b_Example.mp3
> 1c_Example.mp3
> 1d_Example.mp3
> 1e_Example.mp3
> 2a_Example.mp3
> 2b_Example.mp3
> 2c_Example.mp3
> 2d_Example.mp3
> 2e_Example.mp3

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 53 remaining solutions by signing in and submitting your own entry
#54 zjuyzwang / @zjuyzwang - Score: 231 - 11/05/26 @ 04:34
<fd-6d><fd-6d><Up><Up>jlllllllde0puudwh0p<BS><BS>ukpu$pu<Down><Home>1ai<BS><Esc>c1qcE<Esc>ui1a_<Esc>jhhddddddddddddddddddv$ypu$puop<BS><Esc>po<Esc>pop<BS><Esc>po<Esc>po<Esc>po<Esc>po<Esc>po<Esc>po<Esc>po<Esc>pddjjkkkkkkkkkljcb<Esc>ulci<BS>xblibj<BS><Esc>jcw<Esc>ucfxu<Esc>uxac<BS><Esc>ic<Esc>jxid<Esc>jxa<Esc>ie<Esc>jhxxi2a<Esc>jhxxi2bv<BS><Esc>hji<Esc>xxi2c<Esc>jhxxi2d<Esc>hjxx2<Esc>i2e<Esc>:w<CR>:w1<BS>q<CR>

0 comments


Created by: @Chikalona

54 active golfers, 154 entries

Leaderboard (lowest score wins):
20
#31 - mtgd / @mtgd

10/24/2026 at 11:57PM

20
#32 - yit6 / @yit6

10/25/2026 at 01:56PM

20
#33 - Nıklas Rıeken / @ttnick

10/25/2026 at 07:37PM

20
#34 - hugotai0 / @hugotai0

10/26/2026 at 08:30AM

20
#35 - Cyan Green / @cyan12green

10/27/2026 at 05:56AM

20
#36 - unikuragit / @unikuragit

10/29/2026 at 11:28PM

20
#37 - ueda / @ueda-35123

10/30/2026 at 05:51AM

20
#38 - Giovanni De Vito / @g-devito

11/06/2026 at 05:20PM

21
#39 - Bennett Hunter / @bennetthunter10

10/27/2026 at 06:11PM

21
#40 - Etienne.bfx / @etiennebonnafoux

11/04/2026 at 09:57AM

22
#41 - sbrink00 / @sbrink00

11/04/2026 at 12:56AM

22
#42 - Christopher Brew / @cpbrew

11/11/2026 at 03:22AM

23
#43 - Donnie Leornas / @D-Leornas

11/11/2026 at 08:11PM

24
#44 - Sounak Kundu / @sounak-kun

10/31/2026 at 06:41AM

25
#45 - dannycoll / @dannycoll

10/30/2026 at 01:48PM

27
#46 - Jon Garmilla / @jon-garmilla-dev

10/28/2026 at 09:34AM

27
#47 - Maksim / @maxonkart0n

10/30/2026 at 01:05PM

33
#48 - RamatiTomer / @RamatiTomer

11/11/2026 at 09:17PM

35
#49 - Kesemory / @kesemory

11/05/2026 at 01:32PM

39
#50 - KIM Hyeok / @infinitekh

11/04/2026 at 08:08AM

48
#51 - Jonathan Buss / @Jboss-10

11/06/2026 at 06:50PM

96
#52 - vcoste / @coste-v

11/04/2026 at 11:17PM

108
#53 - Fewof / @Fewof

11/09/2026 at 11:08PM

231
#54 - zjuyzwang / @zjuyzwang

11/05/2026 at 04:34AM