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

109 active golfers, 400 entries

Leaderboard (lowest score wins):
43
#91 - Robert Verst / @r_verst

11/26/2020 at 02:04PM

48
#92 - Eduardo MezĂȘncio / @eduardomezencio

11/07/2020 at 01:55AM

49
#93 - Umut / @Umut32752168

11/06/2020 at 07:40PM

49
#94 - jksnapp / @jksnapp2

12/20/2020 at 09:08PM

50
#95 - vesa / @XingfDu

01/14/2021 at 07:50AM

52
#96 - Ben Wainwright / @benwainwrightuk

11/28/2020 at 05:15PM

53
#97 - Matt / @woodfell

02/19/2021 at 05:48AM

55
#98 - tyuktu / @tyuk_tu

11/20/2020 at 01:36AM

57
#99 - kse / @kse92733183

11/19/2020 at 01:03AM

57
#100 - said / @said13664960

12/16/2020 at 12:49PM

58
#101 - Arne Winter / @ArneWinter5

12/06/2020 at 11:51PM

59
#102 - Tobias Eliasson / @arnestig

11/11/2020 at 08:37AM

59
#103 - Dennis Chen / @Mailyfesux

11/12/2020 at 05:56AM

59
#104 - justinhj / @justinhj

12/26/2020 at 05:24AM

63
#105 - Bharath / @Bharath15952517

12/13/2020 at 07:17AM

66
#106 - kijete3127 / @kijete3127

12/13/2020 at 02:07PM

97
#107 - Milad ABC / @miladdarren

02/16/2021 at 08:31AM

135
#108 - Sam Christensen / @samuelchriste

11/30/2020 at 02:12AM

482
#109 - Akkarin / @akkarinka

11/07/2020 at 04:58AM