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

60 active golfers, 188 entries

Leaderboard (lowest score wins):
21
#1 - Saki Gw / @Sakigw

11/06/2020 at 02:08PM

21
#2 - LeCodeurFou / @le_codeur

11/07/2020 at 01:57AM

21
#3 - Jon Krause / @jkrause314

11/08/2020 at 06:54AM

21
#4 - John Braxler / @braxler

11/09/2020 at 02:11PM

21
#5 - Ravi S Sinha / @ambidextrousTx

11/10/2020 at 12:36AM

21
#6 - David Kutschke / @D4KU_

11/14/2020 at 01:34PM

21
#7 - 김도현 / @pykJzzzsmAzloZl

11/20/2020 at 06:15AM

21
#8 - Hugh / @haquaman

11/24/2020 at 09:54PM

22
#9 - Ceda EI / @ceda_ei

11/06/2020 at 01:24PM

22
#10 - Roger Stoltz / @rogsto1

11/06/2020 at 08:18PM

22
#11 - Smylers / @Smylers2

11/06/2020 at 11:33PM

22
#12 - Arryue / @Arryue2

11/07/2020 at 05:13AM

22
#13 - John Watson / @JRWats0n

11/07/2020 at 06:33AM

22
#14 - Jacques Donnelly / @Donnll

11/07/2020 at 02:19PM

22
#15 - MrRubiksSC / @RubiksSc

11/07/2020 at 10:33PM

22
#16 - vimspam / @vimspam

11/09/2020 at 02:24AM

22
#17 - lamtt77 / @lamtt77

11/09/2020 at 04:48AM

22
#18 - Filipe Brandenburger / @filbranden

11/11/2020 at 01:32AM

23
#19 - Vinícius Hoyer / @viniciushoyer

11/06/2020 at 01:28PM

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

11/07/2020 at 12:34AM

23
#21 - Nathan Iszlaub / @NIszlaub

11/08/2020 at 02:31PM

23
#22 - Foo Bar / @FooBar16885696

11/09/2020 at 06:52AM

23
#23 - drumstix576 / @drumstix576

11/18/2020 at 08:39PM

24
#24 - quemeraisc / @quemeraisc

11/06/2020 at 02:47PM

24
#25 - Zack Freedman / @freedman_zack

11/07/2020 at 05:56AM

24
#26 - Petro Тrouq / @zulolosi

11/09/2020 at 05:00AM

24
#27 - Michał / @Micha46184564

11/11/2020 at 05:10PM

26
#28 - Bruce Woodward / @b00ffer

11/11/2020 at 07:06PM

28
#29 - Jan Sturm / @JanSturm77

11/06/2020 at 01:45PM

28
#30 - Miki Tebeka / @tebeka

11/08/2020 at 07:28AM