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

113 active golfers, 414 entries

Leaderboard (lowest score wins):
22
#31 - Nicolas Pagny / @NicolasPagny

01/06/2021 at 05:14PM

22
#32 - chocolate / @chocola81394123

01/07/2021 at 01:37AM

22
#33 - A A A / @37fatos

01/09/2021 at 12:28AM

22
#34 - Tinko Minko / @tandikula

01/19/2021 at 05:21AM

22
#35 - Andreas Siegrist / @andreaszwei

01/21/2021 at 06:01PM

22
#36 - OtterPy / @OtterPy

01/27/2021 at 10:17AM

22
#37 - AAbraxas / @AAbraxas1

02/07/2021 at 04:04PM

22
#38 - 김범준 / @kmbmjn

02/17/2021 at 01:26AM

22
#39 - Miłosz Łakomy / @foobar01123

02/17/2021 at 05:12AM

22
#40 - geosucker / @geosucker

02/25/2021 at 04:33PM

23
#41 - Vinícius Hoyer / @viniciushoyer

11/06/2020 at 01:28PM

23
#42 - Jonáš Šerých / @serycjon

11/07/2020 at 12:34AM

23
#43 - Nathan Iszlaub / @NIszlaub

11/08/2020 at 02:31PM

23
#44 - Foo Bar / @FooBar16885696

11/09/2020 at 06:52AM

23
#45 - drumstix576 / @drumstix576

11/18/2020 at 08:39PM

23
#46 - nd183 / @nd1832

12/07/2020 at 10:47AM

23
#47 - Daniel Andersson / @AnderssonDanzig

01/29/2021 at 02:22PM

24
#48 - quemeraisc / @quemeraisc

11/06/2020 at 02:47PM

24
#49 - Zack Freedman / @freedman_zack

11/07/2020 at 05:56AM

24
#50 - Petro Тrouq / @zulolosi

11/09/2020 at 05:00AM

24
#51 - Michał / @Micha46184564

11/11/2020 at 05:10PM

24
#52 - Austin Scott / @theMetgame

01/11/2021 at 03:27AM

24
#53 - Askhento / @Askhento1

02/25/2021 at 10:46AM

25
#54 - John Doe / @JohnDoe75830353

12/21/2020 at 09:41PM

25
#55 - nlfrocks / @nlfrocks

01/16/2021 at 06:19AM

26
#56 - Bruce Woodward / @b00ffer

11/11/2020 at 07:06PM

26
#57 - Björn Struckmeier / @BjrnStruckmeie1

01/04/2021 at 02:13PM

27
#58 - kafang plays vimgolf / @KafangV

12/16/2020 at 02:57PM

27
#59 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 12:29PM

27
#60 - Pavlo Hadzheha / @PHadzheha

02/19/2021 at 01:41PM