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

224 active golfers, 852 entries

Leaderboard (lowest score wins):
23
#91 - Ventura / @vetu11

05/19/2021 at 05:22PM

23
#92 - Joe Farnsworth / @JoeFarnsworth

06/21/2021 at 08:07PM

23
#93 - 時空裂縫 / @0xdcbf

07/03/2021 at 05:14AM

23
#94 - uppercase reducer / @uppercasereduce

06/24/2023 at 04:41PM

24
#95 - quemeraisc / @quemeraisc

11/06/2020 at 02:47PM

24
#96 - Zack Freedman / @freedman_zack

11/07/2020 at 05:56AM

24
#97 - Petro Тrouq / @zulolosi

11/09/2020 at 05:00AM

24
#98 - Michał / @Micha46184564

11/11/2020 at 05:10PM

24
#99 - Austin Scott / @theMetgame

01/11/2021 at 03:27AM

24
#100 - Askhento / @Askhento1

02/25/2021 at 10:46AM

24
#101 - Russell Helmstedter / @RHelmstedter

07/28/2021 at 05:05PM

24
#102 - POSIX / @po6ix

02/01/2022 at 04:29AM

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

03/13/2022 at 08:55PM

24
#104 - Brandon / @Brandon10678836

08/24/2022 at 05:01PM

24
#105 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 02:06PM

24
#106 - RosaTryp / @RosaTryp

03/13/2023 at 04:17PM

25
#107 - John Doe / @JohnDoe75830353

12/21/2020 at 09:41PM

25
#108 - nlfrocks / @nlfrocks

01/16/2021 at 06:19AM

25
#109 - chrisevett / @bertlehertfer

07/14/2021 at 03:10PM

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

10/19/2022 at 04:00AM

25
#111 - Ludovic Schwartz / @ludovicschwartz

11/20/2023 at 02:35PM

26
#112 - Bruce Woodward / @b00ffer

11/11/2020 at 07:06PM

26
#113 - Björn Struckmeier / @BjrnStruckmeie1

01/04/2021 at 02:13PM

26
#114 - Daniel Enrico Botta / @danenbo

09/02/2022 at 02:28PM

26
#115 - James / @Dronak

11/02/2022 at 03:52PM

27
#116 - kafang plays vimgolf / @KafangV

12/16/2020 at 02:57PM

27
#117 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 12:29PM

27
#118 - Pavlo Hadzheha / @PHadzheha

02/19/2021 at 01:41PM

27
#119 - ぬぁ / @nuxaxtu

06/15/2021 at 12:44AM

27
#120 - x03n046 / @x03n046

05/28/2022 at 11:53AM