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

100 active golfers, 416 entries

Leaderboard (lowest score wins):
19
#1 - John Braxler / @braxler

04/22/2024 at 12:35PM

19
#2 - Jean George / @JeanGeo20504212

04/22/2024 at 09:34PM

19
#3 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

04/23/2024 at 12:28AM

19
#4 - Tsimon Dorakh / @Tsimon-Dorakh

05/22/2024 at 08:08PM

20
#5 - John Kershaw / @johnkershaw

04/19/2024 at 05:47PM

20
#6 - Viswajith / @Viswajith444

04/20/2024 at 09:00PM

20
#7 - zoomhauer / @paulonhere

04/23/2024 at 02:19AM

20
#8 - Adv_Zxy / @adv_zxy

04/24/2024 at 04:40AM

20
#9 - Sergey Artushkevich / @artcha

04/24/2024 at 02:31PM

20
#10 - Peppa Pig / @PeppaPi95550250

04/29/2024 at 02:33AM

20
#11 - Irakli Chigvaria / @tchigvaria

05/04/2024 at 04:55PM

20
#12 - luke37842 / @luke37842

05/14/2024 at 01:08PM

21
#13 - Lennart / @lennartack

04/19/2024 at 08:21PM

21
#14 - Rodney Visser / @_Radnus

04/22/2024 at 04:03PM

21
#15 - Quentin de Andria / @QuentindeA

04/26/2024 at 06:58PM

21
#16 - vimster12312 / @vimster12394846

04/27/2024 at 03:12AM

21
#17 - Ty Kroll / @tkroll

04/29/2024 at 04:04AM

21
#18 - Jannik Birk / @dernatsch

05/01/2024 at 08:55AM

21
#19 - onedayrex / @onedayrex

05/17/2024 at 09:56AM

22
#20 - Tomek / @Madghostek

04/19/2024 at 05:41PM

22
#21 - Smylers / @Smylers2

04/19/2024 at 08:21PM

22
#22 - Christian Borja / @cborjah

04/20/2024 at 12:32AM

22
#23 - alexscott / @4l3xsc0tt

04/24/2024 at 11:59AM

22
#24 - Bhavnick Minhas / @bhavnicksm

04/25/2024 at 10:38PM

22
#25 - ARK / @ARezaK

05/21/2024 at 10:18PM

23
#26 - Xiukun Hu / @xhu4

04/20/2024 at 10:40PM

23
#27 - Jamie / @jamiegibneyuk

04/30/2024 at 12:38PM

23
#28 - x03n046 / @x03n046

05/02/2024 at 03:27AM

23
#29 - Ilya Gavrilov / @devgavrilov

05/15/2024 at 09:56PM

23
#30 - tk555 / @tk55513

05/19/2024 at 11:53AM