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

285 active golfers, 1364 entries

Leaderboard (lowest score wins):
21
#61 - Vsevolod Rychkov / @MadPigeon

05/12/2025 at 12:12PM

21
#62 - ElectrifyPro / @ElectrifyPro

05/19/2025 at 12:08AM

22
#63 - Tomek / @Madghostek

04/19/2024 at 05:41PM

22
#64 - "Smylers" / @Smylers2

04/19/2024 at 08:21PM

22
#65 - Christian Borja / @cborjah

04/20/2024 at 12:32AM

22
#66 - alexscott / @4l3xsc0tt

04/24/2024 at 11:59AM

22
#67 - Bhavnick Minhas / @bhavnicksm

04/25/2024 at 10:38PM

22
#68 - ARK / @ARezaK

05/21/2024 at 10:18PM

22
#69 - adamko930 / @adamko930

06/24/2024 at 07:36PM

22
#70 - Seungho Lee / @llistnr

07/15/2024 at 03:48AM

22
#71 - polo / @marcolagos

07/19/2024 at 02:12AM

22
#72 - Ioannis Chrysostomakis / @ic-768

09/17/2024 at 01:20PM

22
#73 - KNAKAJIMA2 / @KNAKAJIMA2

03/23/2025 at 01:50AM

22
#74 - technophile-xt / @technophile-xt

04/17/2025 at 08:42AM

22
#75 - phaym / @phaym

05/11/2025 at 01:47AM

23
#76 - Xiukun Hu / @xhu4

04/20/2024 at 10:40PM

23
#77 - Jamie / @jamiegibneyuk

04/30/2024 at 12:38PM

23
#78 - x03n046 / @x03n046

05/02/2024 at 03:27AM

23
#79 - Ilya Gavrilov / @devgavrilov

05/15/2024 at 09:56PM

23
#80 - tk555 / @tk55513

05/19/2024 at 11:53AM

23
#81 - Maarten Craeynest / @Maarten_Cr

07/12/2024 at 09:34PM

23
#82 - Felix / @ne0phyte

07/18/2024 at 05:16PM

23
#83 - George Oversby / @GeorgeOversby

08/15/2024 at 06:37PM

23
#84 - 765859220 / @765859220

08/27/2024 at 07:23AM

23
#85 - George Golubev / @george-gol

01/14/2025 at 07:53PM

23
#86 - Ben Weedon / @binyomen

02/08/2025 at 04:47AM

23
#87 - Nathan Priego / @nspriego

02/20/2025 at 04:45AM

23
#88 - jaunxter / @jaunxter

04/01/2025 at 02:45AM

23
#89 - pajamaman7 aka tommyBuckets / @pajamaman7

04/07/2025 at 06:58PM

23
#90 - mihkel55 / @mihkel55

04/20/2025 at 06:18PM