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):
29
#121 - Captain Proton / @CaptainProton5

06/21/2021 at 12:21PM

29
#122 - Philipp Schilk / @TheSchilk

03/21/2022 at 07:03PM

30
#123 - Nougatine Naja / @NougatineNaja

07/28/2022 at 12:14PM

30
#124 - mindgitrwx / @mindgitrwx

12/02/2022 at 12:12PM

31
#125 - Shivam Sharma / @getshivam

03/03/2021 at 12:57PM

31
#126 - grsh / @girish_i_am

05/26/2021 at 01:59PM

31
#127 - Max Studanski / @MStudanski

10/06/2022 at 03:38PM

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

11/06/2020 at 02:45PM

32
#129 - Hossein Yousefi 💙 / @u_hossein

11/06/2020 at 03:54PM

32
#130 - Corentin / @OuterHeavenCC

11/07/2020 at 10:21PM

32
#131 - Selvaganapathy P / @canabady

02/20/2021 at 05:35AM

32
#132 - Brian Olpin / @bolpin

09/19/2021 at 09:58PM

32
#133 - RandomAveragePlayer / @RandomVimUser

10/11/2021 at 05:36PM

32
#134 - ya-suke / @ninja__01

02/06/2022 at 07:20AM

32
#135 - mika / @mika31120321

07/30/2022 at 03:56PM

33
#136 - Filipe 💙 / @ABarroso

11/10/2020 at 12:00AM

33
#137 - Tuure / @tuure_p

03/15/2021 at 04:22AM

34
#138 - Jakub / @vr0m

11/07/2020 at 05:02PM

34
#139 - MathijsHoogland / @MathijsHoogland

11/18/2020 at 06:51AM

34
#140 - Neverlandrunner / @neverlandrunner

12/05/2020 at 02:24PM

34
#141 - Danny Sanchez / @Dane1410s

03/14/2021 at 02:44AM

34
#142 - ♪ / @Ymgch_Key

03/15/2021 at 04:12AM

34
#143 - Omar Alawadhi / @OmarAla59544225

10/17/2022 at 07:28PM

35
#144 - Rafael Gonzaga / @_rafaelgss

11/06/2020 at 01:21PM

35
#145 - Dat / @datdhuynh

11/11/2020 at 04:17PM

35
#146 - Leander Hendrikx / @leanderhendrikx

11/20/2020 at 08:22AM

35
#147 - George Angelopoulos / @g_usermod

02/16/2021 at 08:08AM

35
#148 - A White Dwarf / @AWhiteDwarf1

06/28/2021 at 10:04PM

35
#149 - Alessandro Cantini / @aecant

10/07/2021 at 07:37PM

35
#150 - Siddharth Murali / @SidTweetsALess

07/20/2022 at 01:18PM