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):
23
#61 - Vinícius Hoyer / @viniciushoyer

11/06/2020 at 01:28PM

23
#62 - Jonáš Šerých / @serycjon

11/07/2020 at 12:34AM

23
#63 - Nathan Iszlaub / @NIszlaub

11/08/2020 at 02:31PM

23
#64 - Foo Bar / @FooBar16885696

11/09/2020 at 06:52AM

23
#65 - drumstix576 / @drumstix576

11/18/2020 at 08:39PM

23
#66 - nd183 / @nd1832

12/07/2020 at 10:47AM

23
#67 - Daniel Andersson / @AnderssonDanzig

01/29/2021 at 02:22PM

23
#68 - hamb / @hamb88140219

03/08/2021 at 12:07AM

23
#69 - treb / @treb03683130

03/12/2021 at 02:47PM

23
#70 - Ventura / @vetu11

05/19/2021 at 05:22PM

23
#71 - Joe Farnsworth / @JoeFarnsworth

06/21/2021 at 08:07PM

23
#72 - 0xdrowsy / @0xdrowsy

07/03/2021 at 05:14AM

24
#73 - quemeraisc / @quemeraisc

11/06/2020 at 02:47PM

24
#74 - Zack Freedman / @freedman_zack

11/07/2020 at 05:56AM

24
#75 - Petro Тrouq / @zulolosi

11/09/2020 at 05:00AM

24
#76 - Michał / @Micha46184564

11/11/2020 at 05:10PM

24
#77 - Austin Scott / @theMetgame

01/11/2021 at 03:27AM

24
#78 - Askhento / @Askhento1

02/25/2021 at 10:46AM

24
#79 - Russell Helmstedter / @RHelmstedter

07/28/2021 at 05:05PM

24
#80 - POSIX / @po6ix

02/01/2022 at 04:29AM

24
#81 - Antonio D. González / @antoniodgonz

03/13/2022 at 08:55PM

25
#82 - John Doe / @JohnDoe75830353

12/21/2020 at 09:41PM

25
#83 - nlfrocks / @nlfrocks

01/16/2021 at 06:19AM

25
#84 - chrisevett / @bertlehertfer

07/14/2021 at 03:10PM

26
#85 - Bruce Woodward / @b00ffer

11/11/2020 at 07:06PM

26
#86 - Björn Struckmeier / @BjrnStruckmeie1

01/04/2021 at 02:13PM

27
#87 - kafang plays vimgolf / @KafangV

12/16/2020 at 02:57PM

27
#88 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 12:29PM

27
#89 - Pavlo Hadzheha / @PHadzheha

02/19/2021 at 01:41PM

27
#90 - ぬぁ / @nuxaxtu

06/15/2021 at 12:44AM