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):
21
#31 - vimster12312 / @vimster12394846

04/27/2024 at 03:12AM

21
#32 - Ty Kroll / @tkroll

04/29/2024 at 04:04AM

21
#33 - Jannik Birk / @dernatsch

05/01/2024 at 08:55AM

21
#34 - onedayrex / @onedayrex

05/17/2024 at 09:56AM

21
#35 - Petter Hoem Sletsjøe / @petterhs

08/06/2024 at 10:16PM

21
#36 - Yusuke Sakai / @n-mhn

08/16/2024 at 06:10AM

21
#37 - Pablo Acuna / @pacuna

08/31/2024 at 02:58AM

21
#38 - dlum20 / @dlum20

09/28/2024 at 09:17AM

21
#39 - DayuanX / @DayuanX

09/29/2024 at 03:51PM

22
#40 - Tomek / @Madghostek

04/19/2024 at 05:41PM

22
#41 - Smylers / @Smylers2

04/19/2024 at 08:21PM

22
#42 - Christian Borja / @cborjah

04/20/2024 at 12:32AM

22
#43 - alexscott / @4l3xsc0tt

04/24/2024 at 11:59AM

22
#44 - Bhavnick Minhas / @bhavnicksm

04/25/2024 at 10:38PM

22
#45 - ARK / @ARezaK

05/21/2024 at 10:18PM

22
#46 - adamko930 / @adamko930

06/24/2024 at 07:36PM

22
#47 - Seungho Lee / @llistnr

07/15/2024 at 03:48AM

22
#48 - polo / @marcolagos

07/19/2024 at 02:12AM

22
#49 - Ioannis Chrysostomakis / @ic-768

09/17/2024 at 01:20PM

23
#50 - Xiukun Hu / @xhu4

04/20/2024 at 10:40PM

23
#51 - Jamie / @jamiegibneyuk

04/30/2024 at 12:38PM

23
#52 - x03n046 / @x03n046

05/02/2024 at 03:27AM

23
#53 - Ilya Gavrilov / @devgavrilov

05/15/2024 at 09:56PM

23
#54 - tk555 / @tk55513

05/19/2024 at 11:53AM

23
#55 - Maarten Craeynest / @Maarten_Cr

07/12/2024 at 09:34PM

23
#56 - Felix / @ne0phyte

07/18/2024 at 05:16PM

23
#57 - George Oversby / @GeorgeOversby

08/15/2024 at 06:37PM

23
#58 - 765859220 / @765859220

08/27/2024 at 07:23AM

24
#59 - maruryota / @maruryota

04/19/2024 at 01:25AM

24
#60 - Thijs / @Liulangzhe98

04/19/2024 at 01:09PM