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

3995 active golfers, 13063 entries

Leaderboard (lowest score wins):
15
#1621 - Cyrus Nikolaidis / @CyrusNikolaidis

08/21/2017 at 04:53PM

15
#1622 - SirVimGolf / @SirVimGolf

08/23/2017 at 08:31PM

15
#1623 - Alon L / @0xa10

08/28/2017 at 01:14PM

15
#1624 - Rachel Murray / @RachelMurray11

08/30/2017 at 04:42AM

15
#1625 - bazkila@gmail.com / @bazkila

09/02/2017 at 04:16AM

15
#1626 - Markus / @dayshade_7

09/06/2017 at 09:01AM

15
#1627 - Alejandro Catalina / @AleexCatalina

09/10/2017 at 06:57PM

15
#1628 - 郑晓东 / @DGivxLTVopiOQap

09/14/2017 at 08:47AM

15
#1629 - Graham Bates / @gigabates

09/16/2017 at 12:03PM

15
#1630 - jirgn / @jirgn

09/23/2017 at 07:46PM

15
#1631 - Loreno Heer / @helohe

09/24/2017 at 07:56PM

15
#1632 - ؜ / @h43z

10/01/2017 at 07:19PM

15
#1633 - Chris Atanasian / @ChrisAtanasian

10/09/2017 at 08:46PM

15
#1634 - Paul Woestelandt / @pwoestelandt

10/10/2017 at 09:13AM

15
#1635 - George Rabanca / @grabanca

10/15/2017 at 06:37PM

15
#1636 - Bictorem Bictorem / @bictorem

10/18/2017 at 08:26AM

15
#1637 - しぇぱっち / @shepabashi

10/21/2017 at 01:27PM

15
#1638 - Florian Kluck / @KluckF

10/24/2017 at 09:55PM

15
#1639 - Vim Golf / @golf_vim

10/26/2017 at 01:04AM

15
#1640 - BouboulouVimGolf / @BouboulouVG

10/31/2017 at 05:04PM

15
#1641 - えるざっぷ / @_elzup_

11/01/2017 at 11:49PM

15
#1642 - ryuugekisya / @ryuugekisya

11/04/2017 at 07:08AM

15
#1643 - Danilo Đokić / @DaniloOkic

11/05/2017 at 03:28PM

15
#1644 - Kim Hwa Joong / @hanmwoi

11/21/2017 at 12:35PM

15
#1645 - test / @_test_acc_

11/23/2017 at 09:58AM

15
#1646 - BareTull / @BareTull3

11/26/2017 at 02:11AM

15
#1647 - Bart Kleijngeld / @BartKleijngeld

11/28/2017 at 09:58PM

15
#1648 - Paul Sonkoly / @Phaul

12/09/2017 at 11:26AM

15
#1649 - Mark Brouwers / @fryght

12/19/2017 at 01:17PM

15
#1650 - 小山内まい / @osanamity

12/23/2017 at 06:46PM