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 5192f96ad8df110002000002

Words in parens

We should all ace this, right?

Start file
one two
three
End file
(one) (two)
(three)

View Diff

1,2c1,2
< one two
< three
---
> (one) (two)
> (three)

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 3233 remaining solutions by signing in and submitting your own entry
#3234 velina v veleva / @vveleva - Score: 155 - 04/23/15 @ 16:55
::%s/\(\a*\)/(&)/g<CR>ZZ<C-A><BS><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Right><BS><CR><CR>%s/\(\w*\)/(\1)/g<CR>ZZ/<Esc><Esc>u<Esc>/<BS>:%s/\(\w*\)/(\1)/g<CR>ZZ<CR>:%s/\(\w*\)/(\1)/g<CR>ZZ<Left><Left><Right><Right><Right><BS><BS><BS><BS><BS><BS><CR><Esc>:w<CR><Esc>:wq<CR>

0 comments


Created by: @udioica

3234 active golfers, 10364 entries

Leaderboard (lowest score wins):
14
#1 - Urtica dioica / @udioica

05/15/2013 at 11:49PM

14
#2 - hafsteinn / @hafsteinn

05/19/2013 at 08:51PM

14
#3 - Paul Nelson / @_Pablosan

05/20/2013 at 05:53PM

14
#4 - Nathan Bouscal / @nbouscal

05/27/2013 at 09:06PM

14
#5 - Joe Jackson / @anything_joes

06/03/2013 at 08:04PM

14
#6 - Al / @96258

06/06/2013 at 03:48AM

14
#7 - Shoop Da Whoop / @ShoopDaWhoop8

06/06/2013 at 08:02PM

14
#8 - jk / @kewnapse

06/07/2013 at 11:30PM

14
#9 - Sebastian Kusnier / @skusnier

06/26/2013 at 12:43PM

14
#10 - James Davis / @tripvg

06/26/2013 at 08:49PM

14
#11 - Łukasz Bujakowski / @eggxtreme

06/27/2013 at 11:30AM

14
#12 - Steve Tjoa / @stevetjoa

07/02/2013 at 07:54AM

14
#13 - powertomato / @powertomato

07/03/2013 at 11:17PM

14
#14 - Norm Fasey / @DeathRay1977

07/04/2013 at 11:29PM

14
#15 - Thiago Alves / @townk

07/05/2013 at 06:18AM

14
#16 - Tom Cammann / @tea_sea

07/05/2013 at 01:32PM

14
#17 - Andrew Noyes / @seyonwerdna

07/06/2013 at 07:46AM

14
#18 - Teflon Ted t(◕‿◕t) / @teflonted

07/07/2013 at 12:02AM

14
#19 - Volodymyr / @vkrest

07/07/2013 at 08:07PM

14
#20 - tek / @nebelwand

07/08/2013 at 02:00AM

14
#21 - arminas / @arminas

07/10/2013 at 09:35AM

14
#22 - Matt Cook / @mattcook08

07/11/2013 at 03:50PM

14
#23 - William Snyders / @iam2391212

07/12/2013 at 11:25PM

14
#24 - Ed Zukowski / @dataoverflow

07/13/2013 at 01:48PM

14
#25 - J Botsby / @j_botsby

07/17/2013 at 08:31AM

14
#26 - Shane Delmore / @ShaneDelmore

07/19/2013 at 03:57AM

14
#27 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

07/19/2013 at 06:44PM

14
#28 - William / @wlmeng11

07/28/2013 at 04:46AM

14
#29 - Peter Lustig / @LustigPeter42

07/29/2013 at 07:34PM

14
#30 - Kevin McGladdery / @run_kmc

07/31/2013 at 05:54AM