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

193 active golfers, 921 entries

Leaderboard (lowest score wins):
38
#181 - Joshua / @H4ppy-04

06/08/2024 at 11:31AM

38
#182 - Dylan Herina / @dpherina

10/16/2024 at 03:53AM

40
#183 - Harvey / @argueddd

04/19/2024 at 07:12AM

40
#184 - Akhdan Fadhilah / @akhdanfadh

11/09/2024 at 02:21PM

41
#185 - Ivan De Dios / @IvantheDugtrio

05/10/2024 at 10:55PM

41
#186 - Bharath Reddy / @breddy-one99

07/29/2024 at 02:43AM

42
#187 - noed271 / @noed271

05/03/2024 at 11:49AM

43
#188 - Aliaksandr Valshtein / @tilalis

11/04/2024 at 01:26PM

46
#189 - Paulo V Calderaro Flausino / @pflausino

07/13/2024 at 08:34PM

48
#190 - Murphy / @TemplateXu

08/19/2024 at 10:12AM

52
#191 - Arvind Anand / @arvindanand1123

04/30/2024 at 08:44PM

75
#192 - Kevin / @PursuerKL

04/19/2024 at 10:56AM

146
#193 - Johann Djupvik / @djupvik99

05/03/2024 at 03:00PM