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 56d70389bbbe462aff01d42a

Swap values

Well, swap the values...

Start file
name=www-data, groups=developer
End file
name=developer, groups=www-data

View Diff

1c1
< name=www-data, groups=developer
---
> name=developer, groups=www-data

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 1273 remaining solutions by signing in and submitting your own entry
Created by: @vimgolf_ctrl_x

1274 active golfers, 4643 entries

Leaderboard (lowest score wins):
11
#361 - Peter Wang / @omgitsabackup

01/29/2025 at 03:43AM

12
#362 - "Smylers" / @Smylers2

03/02/2016 at 04:45PM

12
#363 - Marty Boren / @beanmaximalist

03/03/2016 at 05:57AM

12
#364 - Michael Potter / @MicLeviPotter

03/03/2016 at 06:43AM

12
#365 - Robert Mosher / @rcmosher

03/03/2016 at 06:51PM

12
#366 - DaJuEm / @DaJuEm

03/03/2016 at 09:58PM

12
#367 - DahmonX / @DahmonX

03/04/2016 at 01:00AM

12
#368 - hardaudit / @hardaudit

03/04/2016 at 07:55AM

12
#369 - Dimitar Dimitrov / @kurkale6ka

03/04/2016 at 02:28PM

12
#370 - Matt / @mcr05

03/06/2016 at 10:15PM

12
#371 - Каббанец / @kabbansky

03/07/2016 at 05:57AM

12
#372 - Jan Bundesmann / @janbundesmann

03/07/2016 at 09:35AM

12
#373 - we’re going to need a bigger bot / @assaflavie

03/08/2016 at 06:39PM

12
#374 - Sebastian Pardo / @sebpardo

03/09/2016 at 12:31AM

12
#375 - oscar / @zonza_mas

03/09/2016 at 06:02PM

12
#376 - Trey Thomas / @treythomas123

03/10/2016 at 04:46AM

12
#377 - zealotrush / @zealotrush

03/11/2016 at 03:19AM

12
#378 - jk / @kewnapse

03/14/2016 at 04:13PM

12
#379 - Ryan Lue / @ScruffyMcG

03/16/2016 at 01:43AM

12
#380 - 朱国栋 / @GuodongZhu

03/17/2016 at 07:24PM

12
#381 - Dimitrije Juras / @sinemitre

03/19/2016 at 04:24PM

12
#382 - ymuc / @ymuchautbois

03/25/2016 at 05:43PM

12
#383 - mac calmar / @calmarc

03/27/2016 at 03:26AM

12
#384 - Vaughn Cato / @vaughncato

04/03/2016 at 04:11PM

12
#385 - Chris Hubschneider / @CHubschneider

04/07/2016 at 08:39PM

12
#386 - f00b8tr / @f00b8tr5

04/09/2016 at 04:02AM

12
#387 - Robert Carmosino / @Cryptic_Storm

04/09/2016 at 05:02AM

12
#388 - abhinavgujjar / @abhinavgujjar

04/12/2016 at 05:32PM

12
#389 - antew / @antewcode

04/15/2016 at 02:07PM

12
#390 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 03:21PM