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):
26
#151 - Giacomo Sansone / @pcineverdies

06/24/2024 at 09:13PM

26
#152 - Panda-Ghost / @Panda-Ghost

07/08/2024 at 04:58AM

26
#153 - Prem Netsuwan / @grnnja

08/27/2024 at 10:50AM

26
#154 - shenyfg / @shenyfg

08/30/2024 at 07:34AM

26
#155 - demouo / @demouo

11/04/2024 at 02:04PM

26
#156 - dp403aan / @dp403aan

02/03/2025 at 02:37PM

26
#157 - Martin Knoller Stocker / @linuxswords

06/14/2025 at 10:26AM

27
#158 - Johan Sandoval / @yoyos-dev

04/19/2024 at 07:43PM

27
#159 - beneliath / @beneliath

04/20/2024 at 02:02PM

27
#160 - yskiwsk / @yskiwsk

04/22/2024 at 12:30AM

27
#161 - Vivian De Smedt / @vds2212

04/22/2024 at 01:57PM

27
#162 - bonettimrc / @bonettimrc

04/24/2024 at 03:35PM

27
#163 - Charlie-83 / @Charlie-83

04/24/2024 at 05:56PM

27
#164 - Kirill Gordeenko / @Ra1ny

04/27/2024 at 08:14PM

27
#165 - ahenches / @ahenches

05/13/2024 at 08:35AM

27
#166 - LosephCawtonJurtis / @LosephCawtonJurtis

05/26/2024 at 04:10PM

27
#167 - gnragazzi / @gnragazzi

08/02/2024 at 09:33PM

27
#168 - IroncladDev / @IroncladDev

09/17/2024 at 09:26PM

27
#169 - Neix20 / @Neix20

10/03/2024 at 06:39AM

27
#170 - _3tHeR_ / @3ther-joyboy

11/09/2024 at 04:57PM

27
#171 - Swaraj Dash / @swarajdash

12/25/2024 at 01:38PM

27
#172 - Nathan Gilman / @npgilman

04/16/2025 at 01:48AM

27
#173 - Yordan Boikov / @yboikov

05/03/2025 at 07:48PM

27
#174 - nixhaxor / @nixhaxor

06/18/2025 at 09:56PM

28
#175 - ubaldot / @ubaldot

04/21/2024 at 02:15PM

28
#176 - Nick Costello / @nickmcostello

04/21/2024 at 08:43PM

28
#177 - Tamego / @Tamego

04/22/2024 at 06:25AM

28
#178 - astrorobot110 / @astrorobot110

05/10/2024 at 11:18AM

28
#179 - williamdahlberg / @williamdahlberg

05/11/2024 at 04:07PM

28
#180 - smiech / @smiech

05/19/2024 at 08:12PM