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 3967 remaining solutions by signing in and submitting your own entry
#3968 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

3968 active golfers, 12966 entries

Leaderboard (lowest score wins):
14
#451 - bdtwit / @bdtwit2

10/15/2014 at 04:26PM

14
#452 - Javier Cervantes / @solojavier

10/16/2014 at 09:47PM

14
#453 - Marcelo Montu / @_mMontu_

10/17/2014 at 06:21PM

14
#454 - Hanakun. / @akunohanaKUN

10/18/2014 at 01:20AM

14
#455 - Andreas Simon / @ndrssmn

10/18/2014 at 09:30PM

14
#456 - Peter Andersson / @teroqim

10/24/2014 at 04:20PM

14
#457 - Kongqun Yang / @KongqunY

10/27/2014 at 11:49PM

14
#458 - Alex Lesman / @LesmanAlex

10/28/2014 at 07:39PM

14
#459 - Dane Summers / @dsummersl

10/29/2014 at 07:23PM

14
#460 - @sndsgns / @sndsgns

11/04/2014 at 06:54AM

14
#461 - Tonda Minařík / @Eari359

11/06/2014 at 01:11PM

14
#462 - Malte R / @maltoe

11/07/2014 at 05:58PM

14
#463 - Michael Comerford / @MComerford1

11/09/2014 at 04:04AM

14
#464 - M T / @bahkyp

11/14/2014 at 11:39PM

14
#465 - Hrvoje Kopinc / @Hrwaaa

11/16/2014 at 03:07PM

14
#466 - Yuriy / @skriyka

11/18/2014 at 10:48PM

14
#467 - Joel S. / @joelthelion

11/22/2014 at 10:05PM

14
#468 - Vincent Dumoulin / @dumoulinv

11/23/2014 at 05:18AM

14
#469 - Michael Aston / @pennyOsl

11/29/2014 at 03:30PM

14
#470 - Roberto Alegro / @robertoaall

11/30/2014 at 03:50PM

14
#471 - Jonathan Geddes / @j_gds

12/07/2014 at 04:47AM

14
#472 - Frederik Vosberg / @FrediVosberg

12/08/2014 at 09:06PM

14
#473 - Eric Lawless / @eplawless

12/11/2014 at 08:13AM

14
#474 - Elizabeth / @sprinkles418

12/11/2014 at 09:55PM

14
#475 - Bellator nobilis / @BNobilis

12/12/2014 at 12:25AM

14
#476 - zmo / @guyzmo

12/28/2014 at 07:39PM

14
#477 - kimber gonzalez / @kimberlycreates

12/29/2014 at 09:12PM

14
#478 - juicelink / @juicelink

12/30/2014 at 02:18AM

14
#479 - yachi / @yaachi

12/30/2014 at 03:58AM

14
#480 - Nick Dyer / @nickbdyer

12/31/2014 at 03:27PM