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 9v006621a9a900000000026b

New teacher

Update the details of the new CS teacher.

Start file
firstname,lastname,age,hair,eyes
rose,jetson,10,brown,brown
rob,thomson,9,ginger,brown
peter,smith,10,brown,blue
mr,walker,50,none,brown
End file
firstname,lastname,age,hair,eyes
rose,jetson,10,brown,brown
rob,thomson,9,ginger,brown
peter,smith,10,brown,blue
mr,kershaw,53,brown,brown

View Diff

5c5
< mr,walker,50,none,brown
---
> mr,kershaw,53,brown,brown

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 173 remaining solutions by signing in and submitting your own entry
#174 Johann Djupvik / @djupvik99 - Score: 146 - 05/03/24 @ 15:00
<Esc>:s/walker/kershaw/g<CR>:/s/w<BS><BS><BS><BS>s/walker/kershaw/g<CR>n/kersaha<Esc>:<BS><BS><BS><BS><Up><Up><Up><Up><Up><Up><Up><Up><Up><Esc><Esc>;%<Esc>:%s/walker/kersga<BS><BS>haw/g<CR>:%s/none/brown/g<CR>/<BS>:%s/50/54<BS>3/g<CR><Up><Up><Up><Up><Esc>:wq!<CR>

0 comments


Created by: @johnkershaw

174 active golfers, 836 entries

Leaderboard (lowest score wins):
32
#151 - Yuan L. / @BioYLiu

04/25/2024 at 01:42AM

32
#152 - James Tan / @jamesbtan

05/06/2024 at 08:45PM

32
#153 - rekicc / @rekicc

10/03/2024 at 01:28PM

33
#154 - nycksw / @nycksw

04/23/2024 at 12:53PM

33
#155 - Alexander Groth / @alexander-walkingtreegames

05/22/2024 at 10:55AM

34
#156 - dennis / @nagolove

04/25/2024 at 05:27PM

34
#157 - hjkl / @hjklcc

04/26/2024 at 09:10PM

34
#158 - Kirk Matt / @Th0ught09

08/15/2024 at 09:19AM

35
#159 - Altrwe / @altrwe

09/10/2024 at 12:27PM

36
#160 - Mutlu Can Gürbüz / @mutlucg

05/26/2024 at 01:52PM

36
#161 - خـلـيـل / @KHalilZiadeh

05/28/2024 at 10:40PM

36
#162 - Shubham Tandon / @iamst316

08/14/2024 at 05:03AM

37
#163 - Shunlei Zhang / @slzhang13

05/03/2024 at 03:43PM

38
#164 - jonoll95 / @jonoll95

04/21/2024 at 06:04PM

38
#165 - Trivoz / @Trivoz

06/08/2024 at 11:31AM

40
#166 - Harvey / @argueddd

04/19/2024 at 07:12AM

41
#167 - Ivan De Dios / @IvantheDugtrio

05/10/2024 at 10:55PM

41
#168 - Bharath Reddy / @breddy-one99

07/29/2024 at 02:43AM

42
#169 - noed271 / @noed271

05/03/2024 at 11:49AM

46
#170 - Paulo V Calderaro Flausino / @pflausino

07/13/2024 at 08:34PM

48
#171 - Murphy / @TemplateXu

08/19/2024 at 10:12AM

52
#172 - Arvind Anand / @arvindanand1123

04/30/2024 at 08:44PM

75
#173 - Kevin / @PursuerKL

04/19/2024 at 10:56AM

146
#174 - Johann Djupvik / @djupvik99

05/03/2024 at 03:00PM