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

Mirrored text

backward and forward, and long enough to be challenging

Start file
qwertyuiopasdfghjkl;zxcvbnm,./
End file
/.,mnbvcxz;lkjhgfdsapoiuytrewqqwertyuiopasdfghjkl;zxcvbnm,./

View Diff

1c1
< qwertyuiopasdfghjkl;zxcvbnm,./
---
> /.,mnbvcxz;lkjhgfdsapoiuytrewqqwertyuiopasdfghjkl;zxcvbnm,./

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 65 remaining solutions by signing in and submitting your own entry
#66 Kyle Holzinger / @kyleholzinger - Score: 68 - 03/18/16 @ 04:14
v$y:%s/\(.*\)/\=join(reverse(split(submatch(1), '.\zs')), '')/g<CR>$pZZ

0 comments


Created by: @Chen_Hao

66 active golfers, 159 entries

Leaderboard (lowest score wins):
20
#61 - Rubén Chavarría T. / @rchavarriat

03/16/2016 at 08:07AM

21
#62 - jk / @kewnapse

03/14/2016 at 03:50PM

22
#63 - James / @Dronak

08/28/2017 at 02:05AM

22
#64 - Du Phan / @fehiepsi

08/13/2020 at 04:22PM

23
#65 - aisapatino / @aisapatino

03/29/2016 at 11:27PM

68
#66 - Kyle Holzinger / @kyleholzinger

03/18/2016 at 04:14AM