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):
336
#1291 - noed271 / @noed271

03/13/2024 at 12:23PM