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

275 active golfers, 1311 entries

Leaderboard (lowest score wins):
33
#241 - ta / @bmountain

04/27/2025 at 06:02PM

33
#242 - David Bosnic / @David-Bosnic

05/09/2025 at 03:40PM

34
#243 - dennis / @nagolove

04/25/2024 at 05:27PM

34
#244 - hjkl / @hjklcc

04/26/2024 at 09:10PM

34
#245 - Kirk Matt / @Th0ught09

08/15/2024 at 09:19AM

34
#246 - Brye Walker / @bryewalks

05/10/2025 at 05:52AM

35
#247 - Altrwe / @altrwe

09/10/2024 at 12:27PM

35
#248 - bennetthunter10 / @bennetthunter10

03/26/2025 at 04:01PM

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

05/26/2024 at 01:52PM

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

05/28/2024 at 10:40PM

36
#251 - Shubham Tandon / @iamst316

08/14/2024 at 05:03AM

37
#252 - Shunlei Zhang / @slzhang13

05/03/2024 at 03:43PM

37
#253 - carterg / @carterg

02/20/2025 at 04:33PM

38
#254 - jonoll95 / @jonoll95

04/21/2024 at 06:04PM

38
#255 - Joshua / @H4ppy-04

06/08/2024 at 11:31AM

38
#256 - Dylan Herina / @dpherina

10/16/2024 at 03:53AM

38
#257 - Destian Rezza / @dgrezza

01/10/2025 at 04:12AM

38
#258 - Nuckell / @Nuckell

02/17/2025 at 04:04AM

39
#259 - preyam2002 / @preyam2002

02/07/2025 at 07:30PM

39
#260 - Martin Richter / @martinri007

05/16/2025 at 09:55PM

40
#261 - Harvey / @argueddd

04/19/2024 at 07:12AM

40
#262 - Akhdan Fadhilah / @akhdanfadh

11/09/2024 at 02:21PM

41
#263 - Ivan De Dios / @IvantheDugtrio

05/10/2024 at 10:55PM

41
#264 - Bharath Reddy / @breddy-one99

07/29/2024 at 02:43AM

41
#265 - a94qu0402 / @a94qu0402

02/26/2025 at 07:56AM

42
#266 - noed271 / @noed271

05/03/2024 at 11:49AM

43
#267 - Aliaksandr Valshtein / @tilalis

11/04/2024 at 01:26PM

45
#268 - Shubhashis Roy Dipta / @dipta007

05/22/2025 at 04:25AM

46
#269 - Paulo V Calderaro Flausino / @pflausino

07/13/2024 at 08:34PM

48
#270 - Murphy / @TemplateXu

08/19/2024 at 10:12AM