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):
22
#31 - Ceda EI / @ceda_ei

11/06/2020 at 01:24PM

22
#32 - Roger Stoltz / @rogsto1

11/06/2020 at 08:18PM

22
#33 - Smylers / @Smylers2

11/06/2020 at 11:33PM

22
#34 - Arryue / @Arryue2

11/07/2020 at 05:13AM

22
#35 - John Watson / @JRWats0n

11/07/2020 at 06:33AM

22
#36 - Jacques Donnelly / @Donnll

11/07/2020 at 02:19PM

22
#37 - MrRubiksSC / @RubiksSc

11/07/2020 at 10:33PM

22
#38 - vimspam / @vimspam

11/09/2020 at 02:24AM

22
#39 - lamtt77 / @lamtt77

11/09/2020 at 04:48AM

22
#40 - Filipe Brandenburger / @filbranden

11/11/2020 at 01:32AM

22
#41 - roudens / @roudens2

12/05/2020 at 09:59AM

22
#42 - Ryan Way / @RyanWay16

12/09/2020 at 03:04PM

22
#43 - Ian Burgan / @IanBurgan

12/17/2020 at 07:36PM

22
#44 - 영훈 / @odjfnrtm

12/28/2020 at 12:26AM

22
#45 - Jung Yeon Park / @park_jungy

12/31/2020 at 10:21PM

22
#46 - Nicolas Pagny / @NicolasPagny

01/06/2021 at 05:14PM

22
#47 - chocolate / @chocola81394123

01/07/2021 at 01:37AM

22
#48 - A A A / @37fatos

01/09/2021 at 12:28AM

22
#49 - Tinko Minko / @tandikula

01/19/2021 at 05:21AM

22
#50 - Andreas Siegrist / @andreaszwei

01/21/2021 at 06:01PM

22
#51 - OtterPy / @OtterPy

01/27/2021 at 10:17AM

22
#52 - AAbraxas / @AAbraxas1

02/07/2021 at 04:04PM

22
#53 - 김범준 / @kmbmjn

02/17/2021 at 01:26AM

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

02/17/2021 at 05:12AM

22
#55 - geosucker / @geosucker

02/25/2021 at 04:33PM

22
#56 - Paul Adlene / @AdlenePaul

03/14/2021 at 12:37PM

22
#57 - maxtong / @maxtong1987

03/15/2021 at 11:50AM

22
#58 - Michael / @Michael62785035

05/26/2021 at 03:40AM

22
#59 - Georg Bökman / @BokmanGeorg

07/03/2021 at 05:59PM

22
#60 - pikjes / @pikjes2

07/14/2021 at 01:20PM