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

202 active golfers, 754 entries

Leaderboard (lowest score wins):
24
#91 - POSIX / @po6ix

02/01/2022 at 04:29AM

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

03/13/2022 at 08:55PM

24
#93 - Brandon / @Brandon10678836

08/24/2022 at 05:01PM

24
#94 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 02:06PM

25
#95 - John Doe / @JohnDoe75830353

12/21/2020 at 09:41PM

25
#96 - nlfrocks / @nlfrocks

01/16/2021 at 06:19AM

25
#97 - chrisevett / @bertlehertfer

07/14/2021 at 03:10PM

25
#98 - キムラ・OPEL・ユウジ / @kimurayuuji79

10/19/2022 at 04:00AM

26
#99 - Bruce Woodward / @b00ffer

11/11/2020 at 07:06PM

26
#100 - Björn Struckmeier / @BjrnStruckmeie1

01/04/2021 at 02:13PM

26
#101 - Daniel Enrico Botta / @danenbo

09/02/2022 at 02:28PM

26
#102 - James / @Dronak

11/02/2022 at 03:52PM

27
#103 - kafang plays vimgolf / @KafangV

12/16/2020 at 02:57PM

27
#104 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 12:29PM

27
#105 - Pavlo Hadzheha / @PHadzheha

02/19/2021 at 01:41PM

27
#106 - ぬぁ / @nuxaxtu

06/15/2021 at 12:44AM

27
#107 - x03n046 / @x03n046

05/28/2022 at 11:53AM

27
#108 - steve / @steve35773420

11/20/2022 at 01:26PM

28
#109 - Jan Sturm / @JanSturm77

11/06/2020 at 01:45PM

28
#110 - Miki Tebeka / @tebeka

11/08/2020 at 07:28AM

28
#111 - whale / @Hari84444713

11/15/2020 at 04:09AM

28
#112 - Sebastian W. / @Sebasti91439242

11/15/2020 at 09:16PM

28
#113 - Alex Watson / @AlexDewiWatson

12/01/2020 at 09:12PM

28
#114 - zapakh / @zapakh

01/21/2021 at 06:06AM

28
#115 - Tobia Bocchi / @BocchiTobia

02/19/2021 at 11:50AM

28
#116 - Lorenzo Bertolino / @lo_bertolino

03/20/2021 at 05:21PM

28
#117 - TimMcGuire / @mcguire

02/22/2022 at 08:57PM

28
#118 - ._. / @Katharsic

04/24/2022 at 02:14PM

28
#119 - sap / @sap38838304

10/28/2022 at 08:17PM

29
#120 - mevmev / @mevmev8

12/28/2020 at 11:12PM