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

126 active golfers, 463 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

21
#9 - Dax / @zacoxi

12/10/2020 at 06:21AM

21
#10 - Ray Dennis / @raysden

12/23/2020 at 11:26PM

21
#11 - Jianfeng / @Jianfen22425058

02/03/2021 at 06:28AM

21
#12 - Torikatsu / @torikatsu923

02/12/2021 at 06:07PM

21
#13 - nika / @Chain200Nika

02/21/2021 at 05:27PM

21
#14 - せいほう / @FICSQF

02/24/2021 at 11:28PM

21
#15 - WladDalwM / @WladDalwM

03/01/2021 at 11:07AM

21
#16 - der tanzbaer / @der_tanzbaer

03/09/2021 at 03:51PM

22
#17 - Ceda EI / @ceda_ei

11/06/2020 at 01:24PM

22
#18 - Roger Stoltz / @rogsto1

11/06/2020 at 08:18PM

22
#19 - Smylers / @Smylers2

11/06/2020 at 11:33PM

22
#20 - Arryue / @Arryue2

11/07/2020 at 05:13AM

22
#21 - John Watson / @JRWats0n

11/07/2020 at 06:33AM

22
#22 - Jacques Donnelly / @Donnll

11/07/2020 at 02:19PM

22
#23 - MrRubiksSC / @RubiksSc

11/07/2020 at 10:33PM

22
#24 - vimspam / @vimspam

11/09/2020 at 02:24AM

22
#25 - lamtt77 / @lamtt77

11/09/2020 at 04:48AM

22
#26 - Filipe Brandenburger / @filbranden

11/11/2020 at 01:32AM

22
#27 - roudens / @roudens2

12/05/2020 at 09:59AM

22
#28 - Ryan Way / @RyanWay16

12/09/2020 at 03:04PM

22
#29 - Ian Burgan / @IanBurgan

12/17/2020 at 07:36PM

22
#30 - 영훈 / @odjfnrtm

12/28/2020 at 12:26AM