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

56 active golfers, 184 entries

Leaderboard (lowest score wins):
28
#31 - whale / @Hari84444713

11/15/2020 at 04:09AM

28
#32 - Sebastian W. / @Sebasti91439242

11/15/2020 at 09:16PM

32
#33 - ᕦ( ͡° ͜ʖ ͡°)ᕤ / @eduardoarandah

11/06/2020 at 02:45PM

32
#34 - Hossein Yousefi / @u_hossein

11/06/2020 at 03:54PM

32
#35 - Corentin / @OuterHeavenCC

11/07/2020 at 10:21PM

33
#36 - Filipe Barroso 💙 / @ABarroso

11/10/2020 at 12:00AM

34
#37 - Jakub / @vr0m

11/07/2020 at 05:02PM

34
#38 - MathijsHoogland / @MathijsHoogland

11/18/2020 at 06:51AM

35
#39 - Rafael Gonzaga / @_rafaelgss

11/06/2020 at 01:21PM

35
#40 - Dat / @datdhuynh

11/11/2020 at 04:17PM

35
#41 - Leander Hendrikx / @leanderhendrikx

11/20/2020 at 08:22AM

37
#42 - Rafal C. / @RafalC37709324

11/13/2020 at 08:56PM

38
#43 - Kaustubh Murumkar / @k_austub_h

11/07/2020 at 10:03PM

39
#44 - Anier Velasco Sotomayor / @VelascoAnier

11/06/2020 at 05:25PM

39
#45 - Ihor / @Ihor96382508

11/24/2020 at 05:08PM

40
#46 - Matt Kula / @matt_kula

11/18/2020 at 10:52PM

42
#47 - Jan Wedekind / @wedesoft

11/09/2020 at 04:42PM

43
#48 - Robert Verst / @r_verst

11/26/2020 at 02:04PM

48
#49 - Eduardo Mezêncio / @eduardomezencio

11/07/2020 at 01:55AM

49
#50 - Umut / @Umut32752168

11/06/2020 at 07:40PM

54
#51 - Andreas Siegrist / @andreaszwei

11/10/2020 at 05:47PM

55
#52 - tyuktu / @tyuk_tu

11/20/2020 at 01:36AM

57
#53 - kse / @kse92733183

11/19/2020 at 01:03AM

59
#54 - Tobias Eliasson / @arnestig

11/11/2020 at 08:37AM

59
#55 - Dennis Chen / @Mailyfesux

11/12/2020 at 05:56AM

482
#56 - Akkarin / @akkarinka

11/07/2020 at 04:58AM