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 1290 remaining solutions by signing in and submitting your own entry
#1291 noed271 / @noed271 - Score: 336 - 03/13/24 @ 12:23
llllnvlll<Esc><Esc>hhhlvllllllllylllllllllllllllllui<50-53>56d70389bbbe462aff01d42a<Esc>[201~<Esc>u<50-53>56d70389bbbe462aff01d42a<Esc>[201~uhplllluhplllhhvllllllllllcx<BS><Esc>xhhhhhhhhhhhhhhhhi<BS><BS><BS><BS><BS><BS><BS><BS><Esc>pxp<BS>x<50-53>56d70389bbbe462aff01d42a<Esc>[201~uuuuuuuudl<Esc>uwhhhhhhhhvwch<BS><Esc>uvwpdaqdbxxhhhhhhhhhhhhhhhhhhhhhhhwdduhlllllddduuhlllllxxxxxxxxp<BS>lxhhpppppp<Esc>uuuuuuuuuuxxdeuidevelopo<BS>er<Esc>:wq<CR>

0 comments


Created by: @vimgolf_ctrl_x

1291 active golfers, 4703 entries

Leaderboard (lowest score wins):
21
#1201 - Jasper Pangilinan / @JasperP

12/27/2018 at 12:04PM

21
#1202 - Austin / @Austin57093958

01/22/2020 at 01:08AM

21
#1203 - Jonah Hlastala / @JonahHlastala

01/23/2020 at 07:43PM

21
#1204 - Pham Tuan Anh / @anhpt379

02/16/2020 at 01:22PM

21
#1205 - fff / @fff51460170

02/20/2021 at 06:25AM

22
#1206 - Chris Svenningsen / @hmmwhatsthis

03/04/2016 at 12:23AM

22
#1207 - Juampy NR / @juampynr

03/04/2016 at 10:27AM

22
#1208 - Sebastian Pfluegelm / @sebastian_pflgl

06/04/2016 at 11:47AM

22
#1209 - Kirill Sidenko / @KirillSidenko

06/19/2016 at 09:21AM

22
#1210 - Daisuke Ito / @itodais

08/21/2019 at 11:49AM

22
#1211 - Καράτε Μόνο / @karate_mono

08/29/2019 at 12:51PM

22
#1212 - vicver09 / @vicver091

10/29/2019 at 01:56PM

22
#1213 - Olivia Firth / @OliviaFirth4

01/29/2020 at 07:12PM

22
#1214 - :wq / @write_quit_22

07/13/2021 at 04:28AM

23
#1215 - [onion] chesse / @onion_chesse

03/29/2016 at 12:13AM

23
#1216 - Amadou CISSE / @amsayk

11/02/2016 at 09:59PM

23
#1217 - python-tweepy / @python_tweepy

05/15/2017 at 02:00AM

23
#1218 - asdf jkl; / @asdfjkl58010662

08/25/2017 at 11:12AM

23
#1219 - Kevin Cooler / @KevinCooler

08/10/2018 at 04:13PM

23
#1220 - John Rizkalla / @jrizkall

08/24/2018 at 09:41PM

23
#1221 - MGJoe93 / @mgjoe93

03/03/2019 at 07:41AM

23
#1222 - Emil Braserud / @Erdustiggen

03/17/2019 at 08:47PM

23
#1223 - Joel Wanner / @wannerjo

05/07/2019 at 02:02PM

23
#1224 - Mike Wittie / @mike_wittie

01/27/2020 at 07:39PM

23
#1225 - Егор / @rxLmBbiP48E21tx

08/19/2020 at 10:14AM

24
#1226 - Awakening George / @GeorgeC_monster

11/12/2016 at 07:32PM

24
#1227 - Matt Walsh / @wattmalsh

02/02/2017 at 10:37PM

24
#1228 - Alonso Darias / @alonso_darias

01/31/2020 at 07:22AM

24
#1229 - pacy.eth / @0xpacy

04/25/2020 at 07:01AM

25
#1230 - Adam Kożuch / @adamkozuch

04/03/2017 at 01:11AM