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 49 remaining solutions by signing in and submitting your own entry
#50 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

50 active golfers, 141 entries

Leaderboard (lowest score wins):
15
#1 - Peppa Pig / @PeppaPigSg

10/25/2026 at 02:48AM

15
#2 - skywalkerwhack / @skywalkerwhack

10/29/2026 at 01:02PM

15
#3 - frances / @farawayisland

10/31/2026 at 09:00PM

15
#4 - Konrad Guzek / @kguzek

11/02/2026 at 01:04PM

15
#5 - Rei Matsuo / @RayMatsuo

11/05/2026 at 02:27AM

15
#6 - Hawsqazrit / @Hawsqazrit

11/05/2026 at 07:34AM

15
#7 - Michael / @kemonprogrammer

11/11/2026 at 01:04AM

16
#8 - ZEraX4 / @ZEraX4

10/23/2026 at 03:04PM

16
#9 - wpr__ / @wpr____

10/24/2026 at 12:54PM

16
#10 - Ethamin / @0xEthamin

10/24/2026 at 01:44PM

16
#11 - Michael / @thscuriousquest

10/24/2026 at 06:57PM

16
#12 - Peter Salvi / @salvipeter

10/25/2026 at 11:15AM

16
#13 - Mukundan / @Mukundan314

10/29/2026 at 04:40PM

16
#14 - Kim SungEun / @kse8425

10/30/2026 at 07:13AM

16
#15 - vimgolfer / @vimgolfer

11/04/2026 at 03:00PM

16
#16 - Mariospkt / @Mariospkt

11/08/2026 at 10:02AM

16
#17 - Dambibimbus / @AbdulKralDzungle

11/08/2026 at 11:56AM

16
#18 - UdonSari / @udonsari

11/08/2026 at 12:14PM

16
#19 - W.C / @chaes808

11/09/2026 at 05:20AM

17
#20 - Ziad / @ZiadAlbitar

10/23/2026 at 12:49PM

17
#21 - Yannick Peter / @funkymcb

11/06/2026 at 09:49AM

18
#22 - Eduard Terem / @EduardTerem

11/08/2026 at 09:18PM

18
#23 - MartinDanesh / @MartinDanesh

11/10/2026 at 11:19AM

19
#24 - Chiaso / @Chikalona

10/23/2026 at 11:53AM

19
#25 - Koki / @auk1709

10/25/2026 at 01:50PM

19
#26 - Noitidart / @Noitidart

11/04/2026 at 02:46AM

19
#27 - Jonas / @Dedphish

11/06/2026 at 10:18AM

20
#28 - Alan Sartorio / @alansartorio

10/23/2026 at 05:07AM

20
#29 - Massimo Pavoni / @massimopavoni

10/23/2026 at 08:16PM

20
#30 - mtgd / @mtgd

10/24/2026 at 11:57PM