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

137 active golfers, 501 entries

Leaderboard (lowest score wins):
24
#61 - Michał / @Micha46184564

11/11/2020 at 05:10PM

24
#62 - Austin Scott / @theMetgame

01/11/2021 at 03:27AM

24
#63 - Askhento / @Askhento1

02/25/2021 at 10:46AM

25
#64 - John Doe / @JohnDoe75830353

12/21/2020 at 09:41PM

25
#65 - nlfrocks / @nlfrocks

01/16/2021 at 06:19AM

26
#66 - Bruce Woodward / @b00ffer

11/11/2020 at 07:06PM

26
#67 - Björn Struckmeier / @BjrnStruckmeie1

01/04/2021 at 02:13PM

27
#68 - kafang plays vimgolf / @KafangV

12/16/2020 at 02:57PM

27
#69 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 12:29PM

27
#70 - Pavlo Hadzheha / @PHadzheha

02/19/2021 at 01:41PM

27
#71 - ぬぁ / @nuxaxtu

06/15/2021 at 12:44AM

28
#72 - Jan Sturm / @JanSturm77

11/06/2020 at 01:45PM

28
#73 - Miki Tebeka / @tebeka

11/08/2020 at 07:28AM

28
#74 - whale / @Hari84444713

11/15/2020 at 04:09AM

28
#75 - Sebastian W. / @Sebasti91439242

11/15/2020 at 09:16PM

28
#76 - Alex Watson / @AlexDewiWatson

12/01/2020 at 09:12PM

28
#77 - zapakh / @zapakh

01/21/2021 at 06:06AM

28
#78 - Tobia Bocchi / @BocchiTobia

02/19/2021 at 11:50AM

28
#79 - Lorenzo Bertolino / @lo_bertolino

03/20/2021 at 05:21PM

29
#80 - mevmev / @mevmev8

12/28/2020 at 11:12PM

31
#81 - Shivam Sharma / @getshivam

03/03/2021 at 12:57PM

31
#82 - grsh / @girish_i_am

05/26/2021 at 01:59PM

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

11/06/2020 at 02:45PM

32
#84 - Hossein Yousefi / @u_hossein

11/06/2020 at 03:54PM

32
#85 - Corentin / @OuterHeavenCC

11/07/2020 at 10:21PM

32
#86 - Selvaganapathy P / @canabady

02/20/2021 at 05:35AM

33
#87 - Filipe Barroso 💙 / @ABarroso

11/10/2020 at 12:00AM

33
#88 - Tuure / @tuure_p

03/15/2021 at 04:22AM

34
#89 - Jakub / @vr0m

11/07/2020 at 05:02PM

34
#90 - MathijsHoogland / @MathijsHoogland

11/18/2020 at 06:51AM