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):
36
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

12/29/2024 at 02:14PM

36
#2 - Peppa Pig / @PeppaPigSg

12/30/2024 at 04:26AM

36
#3 - “Smylers” / @Smylers2

01/09/2025 at 11:58AM

36
#4 - Pstock7 / @Pstock7

01/25/2025 at 01:35PM

36
#5 - Petro Тrouq / @zulolosi

02/03/2025 at 08:56PM

36
#6 - shooker2012 / @shooker2012

02/05/2025 at 07:54AM

36
#7 - jimmymills / @jimmymills

05/10/2025 at 05:10PM

36
#8 - Tom11w / @Tom11Wh

05/12/2025 at 11:35AM

36
#9 - hikyae / @hikyae

05/12/2025 at 03:43PM

36
#10 - winter-loo / @winter-loo

05/22/2025 at 05:44AM

36
#11 - EvenAnton / @EvenAnton

05/28/2025 at 11:39AM

36
#12 - migoohao / @migoohao

06/19/2025 at 03:03AM

36
#13 - petr-kx / @petr-kx

07/09/2025 at 08:50PM

36
#14 - Benjamin / @b2vqbw

07/29/2025 at 03:01AM

36
#15 - Kelvinauta / @kelvinauta

07/30/2025 at 09:31AM

36
#16 - Gigo / @GiggioG

08/07/2025 at 02:25PM

37
#17 - Daniel Fleischman / @danielf

01/22/2025 at 07:24AM

37
#18 - msbatarce / @msbatarce

04/01/2025 at 12:25AM

37
#19 - Berel94 / @Berel94

10/03/2025 at 07:28PM

37
#20 - SmileImagine / @SmileImagine

10/24/2025 at 03:19AM

37
#21 - ヨーマンウォーダ / @YeomenWarder

12/05/2025 at 12:05PM

40
#22 - ProGamerYeet / @ProGamerYeet

12/26/2024 at 05:33PM

40
#23 - dejam2007 / @dejam2007

12/28/2024 at 12:38PM

40
#24 - MartnRamtin / @MartnRamtin

12/29/2024 at 08:02PM

40
#25 - KLEIN Arthur / @arthur2klein

01/24/2025 at 08:23PM

40
#26 - adiantum / @adiantum-studio

04/16/2025 at 02:50PM

42
#27 - XF / @qimocst

01/25/2025 at 10:25PM

42
#28 - Yuhao LONG / @nichtsen

04/18/2025 at 06:18AM

42
#29 - Jonathan Elliott / @jonathanelliott

06/20/2025 at 07:20PM

46
#30 - maharba6 / @maharba6

01/14/2025 at 09:42PM