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

Sort and Tag

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

Start file
Charmander
____________________
Sprigatito
____________________
Meowscarada
____________________
Pikachu
____________________
Feraligatr
____________________
Hydreigon
____________________
Lucario
____________________
Blaziken
____________________
Dragonite
____________________
Garchomp
____________________
Pidgeot
____________________
Squirtle
____________________
Gardevoir
____________________
Alakazam
____________________
End file
[03] Charmander
____________________
[13] Sprigatito
____________________
[10] Meowscarada
____________________
[12] Pikachu
____________________
[05] Feraligatr
____________________
[08] Hydreigon
____________________
[09] Lucario
____________________
[02] Blaziken
____________________
[04] Dragonite
____________________
[06] Garchomp
____________________
[11] Pidgeot
____________________
[14] Squirtle
____________________
[07] Gardevoir
____________________
[01] Alakazam
____________________

View Diff

1c1
< Charmander
---
> [03] Charmander
3c3
< Sprigatito
---
> [13] Sprigatito
5c5
< Meowscarada
---
> [10] Meowscarada
7c7
< Pikachu
---
> [12] Pikachu
9c9
< Feraligatr
---
> [05] Feraligatr
11c11
< Hydreigon
---
> [08] Hydreigon
13c13
< Lucario
---
> [09] Lucario
15c15
< Blaziken
---
> [02] Blaziken
17c17
< Dragonite
---
> [04] Dragonite
19c19
< Garchomp
---
> [06] Garchomp
21c21
< Pidgeot
---
> [11] Pidgeot
23c23
< Squirtle
---
> [14] Squirtle
25c25
< Gardevoir
---
> [07] Gardevoir
27c27
< Alakazam
---
> [01] Alakazam

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 139 remaining solutions by signing in and submitting your own entry
#140 Atharva / @atharvaM04 - Score: 522 - 06/18/25 @ 12:59
:set paste<CR>dGi<50-53>[03] Charmander<CR>____________________<CR>[13] Sprigatito<CR>____________________<CR>[10] Meowscarada<CR>____________________<CR>[12] Pikachu<CR>____________________<CR>[05] Feraligatr<CR>____________________<CR>[08] Hydreigon<CR>____________________<CR>[09] Lucario<CR>____________________<CR>[02] Blaziken<CR>____________________<CR>[04] Dragonite<CR>____________________<CR>[06] Garchomp<CR>____________________<CR>[11] Pidgeot<CR>____________________<CR>[14] Squirtle<CR>____________________<CR>[07] Gardevoir<CR>____________________<CR>[01] Alakazam<CR>____________________<Esc>[201~<Esc>ZZ

0 comments


Created by: @maharba6

140 active golfers, 676 entries

Leaderboard (lowest score wins):
46
#31 - Lennart / @lennartack

12/16/2025 at 07:07PM

48
#32 - Alexinho67 / @Alexinho67

01/14/2025 at 11:06AM

48
#33 - Victor Pfautz / @vpfautz

01/23/2025 at 04:26PM

48
#34 - Vsevolod Rychkov / @MadPigeon

05/05/2025 at 07:59AM

51
#35 - Heitor Dantas / @heitordnts

01/04/2025 at 07:47PM

51
#36 - hiro1234omochi / @hiro1234omochi

05/12/2025 at 01:50PM

55
#37 - Raven-tale / @Raven-tale

10/14/2025 at 01:52PM

57
#38 - Ben Weedon / @binyomen

02/09/2025 at 02:31AM

57
#39 - Josh / @joshfelm

05/01/2025 at 04:41PM

57
#40 - Whitaker Trebella / @wtrebella

12/12/2025 at 09:07AM

58
#41 - Konrad Guzek / @kguzek

12/24/2025 at 06:59PM

58
#42 - maksim-pinguin / @maksim-pinguin

02/13/2026 at 02:34PM

59
#43 - Herschel / @herschel-ma

12/28/2024 at 10:01AM

59
#44 - Frédéric Heulin / @talineo

01/03/2025 at 08:50PM

59
#45 - MatFriend / @MatFriend

01/17/2025 at 04:57AM

59
#46 - abgalphbetz / @abgalphabetz

03/15/2025 at 08:59PM

59
#47 - humble-hyphen / @humble-hyphen

04/05/2025 at 04:24AM

59
#48 - Katie Gardner / @KatieLG

06/17/2025 at 10:13PM

60
#49 - martinorav / @martinorav

01/14/2025 at 04:53PM

61
#50 - Fanteria / @Fanteria

10/21/2025 at 09:30PM

64
#51 - phaym / @phaym

10/11/2025 at 04:28PM

66
#52 - Thiago M. de Oliveira / @thiagomoraisee

04/07/2025 at 12:33AM

68
#53 - dnzc / @dnzc

08/29/2025 at 03:31AM

69
#54 - Dmitry Prytkov / @hayer969

11/17/2025 at 07:59AM

71
#55 - lassion / @mutilator630

01/22/2026 at 09:26PM

74
#56 - Frederik F / @FrederikFrederiksenMancofi

11/28/2025 at 11:38AM

75
#57 - 0xf00ff00f / @0xf00ff00f

05/24/2025 at 07:56PM

75
#58 - constap / @constap

10/02/2025 at 04:39AM

76
#59 - cgamiz / @cgamiz

03/14/2025 at 05:56PM

76
#60 - Oleksandr Zymohliad / @ozymohliad

04/23/2025 at 06:20PM