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

156 active golfers, 737 entries

Leaderboard (lowest score wins):
129
#121 - potatonotfound / @potatonotfound

11/09/2025 at 10:20PM

130
#122 - cjmHK / @cjmHK

03/19/2026 at 08:54AM

131
#123 - ak@developer / @Ajay-056

04/27/2025 at 05:53AM

132
#124 - Thoro-las / @Thoro-las

03/28/2025 at 11:57PM

132
#125 - Norgus / @Norgus

05/21/2025 at 04:55PM

134
#126 - alekcey63 / @alekcey63

08/28/2025 at 12:14PM

137
#127 - LevanSamadashvili / @LevanSamadashvili

07/04/2025 at 02:23PM

137
#128 - Jean-Valery / @Jvaxx

03/21/2026 at 02:50PM

138
#129 - Thomas Hargreaves / @waingro

02/21/2025 at 09:31AM

138
#130 - Maxime Delhaye / @friphazeph

03/26/2025 at 05:16PM

142
#131 - Isaac Salzman / @Czensored

07/17/2025 at 08:50AM

148
#132 - LO CHI FUNG / @JimsLo

06/02/2026 at 07:21AM

149
#133 - Caleb Abrams / @kingcabrams

01/06/2026 at 07:45PM

150
#134 - Kardo / @kardoj

10/04/2025 at 06:50AM

155
#135 - hartun9 / @hartun9

10/03/2025 at 06:04AM

157
#136 - carterg / @carterg

10/16/2025 at 06:25PM

158
#137 - NoahVickerson / @NoahVickerson

05/25/2025 at 02:01AM

162
#138 - se / @sairutra

11/12/2025 at 09:54AM

180
#139 - yunglatkes / @yunglatkes

07/14/2026 at 06:22AM

188
#140 - gwrhyr / @gwrhyr

02/21/2026 at 06:07AM

198
#141 - qorwlf218 / @qorwlf218

07/20/2025 at 07:03AM

200
#142 - Pranav Varkey / @Daedalus-op

12/07/2025 at 07:41AM

202
#143 - mschmid03 / @mschmid03

02/06/2025 at 11:02AM

216
#144 - Nikhil Ivaturi / @Nick0915

09/02/2026 at 06:34AM

225
#145 - Lex / @lextatic

02/06/2025 at 01:00AM

226
#146 - 8wordbar / @8wordbar

11/15/2025 at 12:33AM

258
#147 - SimonJorgensenMancofi / @SimonJorgensenMancofi

11/28/2025 at 09:46AM

266
#148 - M L / @Mechse

09/03/2025 at 05:53PM

297
#149 - chenzuyu1-star / @chenzuyu1-star

06/10/2026 at 06:16PM

303
#150 - EthanMcGuire / @EthanMcGuire

01/11/2025 at 03:06PM