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

3317 active golfers, 10615 entries

Leaderboard (lowest score wins):
14
#541 - Vivekanandan / @viveklikesyou

06/14/2015 at 04:44AM

14
#542 - nulusr / @nulusr

06/17/2015 at 08:06AM

14
#543 - Noud Speijcken / @noudspeijcken

06/20/2015 at 11:25AM

14
#544 - Lifepillar / @lifepillar

06/23/2015 at 06:17PM

14
#545 - Andres Manz / @manz_andres

06/23/2015 at 11:06PM

14
#546 - Skúli Jóhannsson / @skulibj

06/25/2015 at 05:04PM

14
#547 - Geoff Gu / @geoff_gu

06/28/2015 at 05:37AM

14
#548 - Adrian Krehl / @akrehl

07/03/2015 at 11:25AM

14
#549 - Louis Burke / @LambdaABeta

07/07/2015 at 03:25PM

14
#550 - Steffen Köhler / @Baertierchen

07/11/2015 at 10:10PM

14
#551 - Hans Löfving / @L3E7

07/12/2015 at 09:41PM

14
#552 - José Rodrigues / @jyrodrigues

07/18/2015 at 12:50AM

14
#553 - Dominique van de Vor / @dvdvorle

07/20/2015 at 07:47AM

14
#554 - Hunter Gatewood / @hcgatewood

07/28/2015 at 04:46AM

14
#555 - Shubham Sharma / @shubh1337

07/29/2015 at 03:24PM

14
#556 - Peter B / @l0wm4x

07/29/2015 at 06:59PM

14
#557 - Roben Kleene / @robenkleene

07/30/2015 at 08:33PM

14
#558 - Abdo Achkar / @Achkar

07/30/2015 at 09:58PM

14
#559 - Agnans / @agnans92

07/30/2015 at 10:59PM

14
#560 - Ferdev vimgolf / @fergvimgolf

08/07/2015 at 04:45AM

14
#561 - Veritas / @_VeritasL

08/13/2015 at 12:46PM

14
#562 - Дима Давыдов / @xaykot

08/14/2015 at 05:09PM

14
#563 - Nick Xiao / @nicoster

08/18/2015 at 01:36AM

14
#564 - Sam B / @samevanbrenner

08/22/2015 at 03:03AM

14
#565 - JS / @jjohsan

08/23/2015 at 07:40PM

14
#566 - Dennis Li / @_DennisLi

08/25/2015 at 07:46AM

14
#567 - Dennis Burke / @ikirudennis

08/27/2015 at 05:37PM

14
#568 - Jesse Atkinson / @jsatk

08/29/2015 at 02:26AM

14
#569 - T A / @SirAviles

08/29/2015 at 09:04PM

14
#570 - Sime Buljac / @sim_bul

08/31/2015 at 01:24PM