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 5fa53808a4d481000c3f114d

HS Final exam vimgolf

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

Start file
   Hossein 40.32472348
    Miguel 50.31417393123
    Pierre 40.1283712
     Anier 45.213917900
 Giancarlo 57.2137189394
     Karim 34.87621341324
  Victoria 23.1236248821
   Nicolas 37.2163718741
   Parshad 40.1273461284
   Shanaya 60.213764127
    Victor 30.2164781849
    Manuel 50.1246215457

End file
Hossein (40), Miguel (50), Pierre (40), Anier (45), Giancarlo (57), Karim (34), Victoria (23), Nicolas (37), Parshad (40), Shanaya (60), Victor (30), Manuel (50)

View Diff

1,13c1
<    Hossein 40.32472348
<     Miguel 50.31417393123
<     Pierre 40.1283712
<      Anier 45.213917900
<  Giancarlo 57.2137189394
<      Karim 34.87621341324
<   Victoria 23.1236248821
<    Nicolas 37.2163718741
<    Parshad 40.1273461284
<    Shanaya 60.213764127
<     Victor 30.2164781849
<     Manuel 50.1246215457
< 
---
> Hossein (40), Miguel (50), Pierre (40), Anier (45), Giancarlo (57), Karim (34), Victoria (23), Nicolas (37), Parshad (40), Shanaya (60), Victor (30), Manuel (50)

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 172 remaining solutions by signing in and submitting your own entry
#173 Akkarin / @akkarinka - Score: 482 - 11/07/20 @ 04:58
hhhhhxxxjjjjjjjjjjjjjkJ:<CR>2lx:w<CR>hhhhhhhhhhdwdwkldwdwlk.ul2dwkkjl.kl.kl.kl.kl.kl.kl.kl.khh.hhli(<Esc>jlll.j.j.j.j.j.j.j.j.j.j.kkkkkkkkkkkkkkkkA)<Esc><Esc>j.j.j.j.j.j.j.j.j.j.j.kkkkkkkkkkkkkkka,<Esc>j.u<Esc>uA,<Esc>joj<Esc>uA,<Esc>jou<Esc>u.j<Esc>kddklA,<Esc>j.j.j..<BS>xj.j.j<Esc>uuA,<Esc>j.j.j.j.j.<Esc>xkjllkkkkkkkkkkkkkkJJJJJJJJJJJJJJJJJJJJJJJJ:w<CR>kjlllllllllllllllllhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh:w<CR>:q<CR>

0 comments


Created by: @u_hossein

173 active golfers, 647 entries

Leaderboard (lowest score wins):
35
#121 - Dat / @datdhuynh

11/11/2020 at 04:17PM

35
#122 - Leander Hendrikx / @leanderhendrikx

11/20/2020 at 08:22AM

35
#123 - George Angelopoulos / @g_usermod

02/16/2021 at 08:08AM

35
#124 - A White Dwarf / @AWhiteDwarf1

06/28/2021 at 10:04PM

35
#125 - Alessandro Cantini / @aecant

10/07/2021 at 07:37PM

36
#126 - __VimGolfer__ / @VimGolfer19

11/30/2020 at 06:15PM

36
#127 - Duncan / @Duncan31503119

02/20/2021 at 12:46AM

37
#128 - Rafal C. / @RafalC37709324

11/13/2020 at 08:56PM

37
#129 - angel / @anmaso

12/13/2020 at 04:00PM

37
#130 - tylertucker202 / @tylertucker202

01/22/2021 at 10:57PM

37
#131 - Piers (Ali) Barber / @logicmonkey0

03/07/2021 at 12:08PM

37
#132 - :wq / @write_quit_22

05/19/2021 at 06:10AM

38
#133 - Kaustubh Murumkar / @k_austub_h

11/07/2020 at 10:03PM

39
#134 - Anier Velasco Sotomayor / @VelascoAnier

11/06/2020 at 05:25PM

39
#135 - Ihor / @Ihor96382508

11/24/2020 at 05:08PM

39
#136 - Martin LOUAZEL / @Zbrahark

02/23/2021 at 08:05AM

39
#137 - Gustavo Amaral / @Gustavo33145644

02/23/2021 at 06:39PM

39
#138 - Patrick Martin / @PatrickDMartin

06/29/2021 at 01:39PM

40
#139 - Matt Kula / @matt_kula

11/18/2020 at 10:52PM

41
#140 - 蔡徐坤真是爱吃屎 / @Hashub7

01/21/2021 at 02:57PM

41
#141 - foobarbazqux12345 / @foobarbazqux121

03/04/2021 at 04:28PM

41
#142 - Un Extraño / @link145m

07/31/2021 at 06:12PM

41
#143 - Connor / @ronnocthered

08/15/2021 at 05:16AM

42
#144 - Jan Wedekind / @wedesoft

11/09/2020 at 04:42PM

42
#145 - Łukasz / @srokadev

02/18/2021 at 09:32AM

42
#146 - thari.eth / @thari_eth

11/14/2021 at 01:13PM

43
#147 - Robert Verst / @r_verst

11/26/2020 at 02:04PM

43
#148 - m397 / @m39752809546

05/11/2021 at 04:58PM

43
#149 - 盧小小 / @VegetaLu

04/04/2022 at 02:47PM

44
#150 - INMOTURISMO / @inmoturismosas

05/10/2021 at 04:18AM