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

156 active golfers, 578 entries

Leaderboard (lowest score wins):
29
#91 - Captain Proton / @CaptainProton5

06/21/2021 at 12:21PM

31
#92 - Shivam Sharma / @getshivam

03/03/2021 at 12:57PM

31
#93 - grsh / @girish_i_am

05/26/2021 at 01:59PM

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

11/06/2020 at 02:45PM

32
#95 - Hossein Yousefi 💙 / @u_hossein

11/06/2020 at 03:54PM

32
#96 - Corentin / @OuterHeavenCC

11/07/2020 at 10:21PM

32
#97 - Selvaganapathy P / @canabady

02/20/2021 at 05:35AM

32
#98 - Brian Olpin / @bolpin

09/19/2021 at 09:58PM

32
#99 - RandomAveragePlayer / @RandomVimUser

10/11/2021 at 05:36PM

33
#100 - Filipe Barroso 💙 / @ABarroso

11/10/2020 at 12:00AM

33
#101 - Tuure / @tuure_p

03/15/2021 at 04:22AM

34
#102 - Jakub / @vr0m

11/07/2020 at 05:02PM

34
#103 - MathijsHoogland / @MathijsHoogland

11/18/2020 at 06:51AM

34
#104 - Neverlandrunner / @neverlandrunner

12/05/2020 at 02:24PM

34
#105 - Danny Sanchez / @Dane1410s

03/14/2021 at 02:44AM

34
#106 - ♪ / @Ymgch_Key

03/15/2021 at 04:12AM

35
#107 - Rafael Gonzaga / @_rafaelgss

11/06/2020 at 01:21PM

35
#108 - Dat / @datdhuynh

11/11/2020 at 04:17PM

35
#109 - Leander Hendrikx / @leanderhendrikx

11/20/2020 at 08:22AM

35
#110 - George Angelopoulos / @g_usermod

02/16/2021 at 08:08AM

35
#111 - A White Dwarf / @AWhiteDwarf1

06/28/2021 at 10:04PM

35
#112 - Alessandro Cantini / @aecant

10/07/2021 at 07:37PM

36
#113 - __VimGolfer__ / @VimGolfer19

11/30/2020 at 06:15PM

36
#114 - Duncan / @Duncan31503119

02/20/2021 at 12:46AM

37
#115 - Rafal C. / @RafalC37709324

11/13/2020 at 08:56PM

37
#116 - angel / @anmaso

12/13/2020 at 04:00PM

37
#117 - tylertucker202 / @tylertucker202

01/22/2021 at 10:57PM

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

03/07/2021 at 12:08PM

37
#119 - :wq / @write_quit_22

05/19/2021 at 06:10AM

38
#120 - Kaustubh Murumkar / @k_austub_h

11/07/2020 at 10:03PM