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

137 active golfers, 660 entries

Leaderboard (lowest score wins):
79
#61 - ashfinal / @ashfinal

01/16/2025 at 03:41AM

79
#62 - Dani Bengl / @cb341

12/22/2025 at 08:57PM

82
#63 - Bthxtly / @Bthxtly

01/02/2025 at 12:40PM

83
#64 - Chino / @MarcoMeinardi

01/12/2025 at 09:32AM

83
#65 - Hessesian / @Hessesian

05/27/2025 at 07:19PM

84
#66 - MartinDanesh / @MartinDanesh

11/15/2025 at 05:29PM

85
#67 - thierryharte / @thierryharte

04/18/2025 at 09:14PM

86
#68 - Sebastian Caicedo / @jsebdev

03/29/2025 at 11:18PM

86
#69 - Adrian Lym / @AJGamma

05/14/2025 at 01:58PM

86
#70 - Martin Georgiev / @martician1

12/20/2025 at 10:46PM

87
#71 - Hugh Davenport / @hughdavenport

02/26/2025 at 12:10AM

87
#72 - kloir-z / @kloir-z

01/12/2026 at 01:18PM

89
#73 - bothyhead / @bothyhead

05/05/2025 at 09:00PM

90
#74 - Gatsby76(Sloan Yang) / @Sloan-Yang

05/31/2025 at 11:24PM

91
#75 - Seva163 / @Seva163

04/06/2025 at 11:26AM

92
#76 - Colin Benner / @yzhs

01/11/2025 at 07:29PM

92
#77 - Tobias / @tobiasldn

06/20/2025 at 12:46PM

93
#78 - Daisuke Shimada / @cimadai

02/20/2025 at 12:03AM

94
#79 - Theo Lincke / @lincketheo

04/07/2025 at 11:44PM

99
#80 - Dmitrii / @tdragon

04/14/2025 at 07:22PM

99
#81 - 803s38p2fi / @803s38p2fi

06/30/2025 at 05:03PM

100
#82 - dennis / @nagolove

12/18/2025 at 06:07PM

102
#83 - vombat203 / @vombat203

02/06/2025 at 08:53AM

102
#84 - Leon Kacowicz / @leonkacowicz

05/04/2025 at 11:11AM

102
#85 - Qiumix / @Qiumix

10/16/2025 at 11:36AM

102
#86 - Harun KoƧ / @Wueenzy

12/19/2025 at 06:04PM

105
#87 - yhgolf / @yhgolf1

01/11/2025 at 06:54PM

105
#88 - turtlefetus / @turtlefetus

07/04/2025 at 03:24AM

106
#89 - bcollins19 / @bcollins19

04/01/2025 at 10:37PM

106
#90 - Leonardo Dipilato / @LeonardoDipilato

06/03/2025 at 02:34PM