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):
59
#1261 - Justin Williams / @DRPEPPERGUY1

01/27/2020 at 07:34PM

61
#1262 - Connor / @robotboy_69

01/31/2020 at 03:19AM

64
#1263 - Zac sliker / @Zacsliker

01/29/2020 at 04:24PM

67
#1264 - alex ekstrom / @alexekstrom07

01/30/2020 at 08:06PM

72
#1265 - Arnold / @Arnold59755

01/22/2020 at 05:50AM

74
#1266 - Conner / @Connconn7

01/31/2020 at 08:53PM

77
#1267 - Mance Rayder / @AlexAckerlund

01/21/2020 at 08:01PM

78
#1268 - Ahmed / @AhmedBNaji

01/29/2020 at 06:17PM

97
#1269 - Ryan Pallman / @RyanPallman

01/30/2020 at 10:08PM

106
#1270 - Josh Gruber / @Jevitate

01/23/2020 at 02:06AM

110
#1271 - Brent Wade / @BrentWade_

09/06/2018 at 01:31PM

119
#1272 - alonso montero / @A10ns094

05/21/2016 at 10:37PM

150
#1273 - Zhao Bin / @ZhaoBin2

06/08/2016 at 02:43PM

336
#1274 - noed271 / @noed271

03/13/2024 at 12:23PM