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

One number per line

Just give me the numbers.

Start file
- One number per line -
-----------------------
2,3,5,7,
11,13,17,
19,23,29,
End file
2
3
5
7
11
13
17
19
23
29

View Diff

Your target is 14. I don't think this one will last 24 hours. :)

Hopefully it's a good addition to the challenge set though. Enjoy.

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 3023 remaining solutions by signing in and submitting your own entry
#3024 호도르 / @5jhDIioJ2FEnDbB - Score: 327 - 07/26/18 @ 06:28
dfd<Esc>kjkd2dlhlx<CR>ku:norm ax<Esc><Esc>kjkxi<CR><Esc>.uuua<BS><CR><Esc>.uuuuuud2<Esc><Esc><Esc><Esc>d2d<Esc><Esc><Esc>jkl:%s <BS>/,/\n/g<BS><BS><BS><BS>\ <BS>n/g<CR>u<Esc><Esc><Esc><Esc>:%s /,/\\n/g<CR>ukjlklhkjk:%s /,/\<BS><CR>/g<CR>u:<Up><Left><Left><Left><BS><BS>cr<CR><Esc>ukjlk:<Up><Left><Left><Left>:<BS><Right><Right><Right><BS><BS><BS><BS><BS><BS>\s/g<BS><BS><BS><BS>/g<BS><BS>\r/g<CR>u<Up><Up><Up><Up>:<Up><CR>u<Esc>llllllllggjkluuuuuuudj<Esc>ud22d<Esc>uud2d<Esc>l:%s/,/[<BS>\r/g<CR>:g ^$<BS>$<Esc>uu<C-R><Esc><Esc>:5<BS>%s /.<BS>,/\g<BS>r/g<cr><BS><BS><BS>CR><CR><Up>:<Up><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>:<Up><BS><BS><BS><BS><CR>:g<BS> <BS>g /^$/g<BS>dd/<BS><BS><CR>ZZ

0 comments


Created by: @udioica

3024 active golfers, 14200 entries

Leaderboard (lowest score wins):
20
#1711 - Endre Galaczi / @galacziendre

05/02/2018 at 11:14AM

20
#1712 - Francisco Giordano / @frangio_

05/03/2018 at 04:17AM

20
#1713 - Vince / @saviienn

05/03/2018 at 11:31AM

20
#1714 - Gatlee / @gatmek

05/06/2018 at 01:53PM

20
#1715 - Elite Hacker of the Light / @L3E7

05/08/2018 at 06:30AM

20
#1716 - Just...That / @I_am_JustThat

05/10/2018 at 12:42PM

20
#1717 - Adomas Jatužis / @adomixaszvers

05/13/2018 at 11:02AM

20
#1718 - Alex Wood / @alexlawriewood

05/22/2018 at 10:15AM

20
#1719 - CesipXynic / @CesipX

05/22/2018 at 05:12PM

20
#1720 - Ben Williams / @benw

05/23/2018 at 07:45PM

20
#1721 - Tom Ient / @tom_ient

05/24/2018 at 05:59PM

20
#1722 - nSinus-R / @nSinusR

05/29/2018 at 02:53PM

20
#1723 - Rida Al Barazi / @rida

06/01/2018 at 07:09PM

20
#1724 - Simon Ticks / @SimonTicks

06/10/2018 at 02:05PM

20
#1725 - deeplow / @deeplow1337

06/15/2018 at 06:58PM

20
#1726 - testasddae / @testasddae

06/17/2018 at 03:02PM

20
#1727 - Andrew Tongen / @atongen

06/21/2018 at 08:22PM

20
#1728 - rhys ormond / @rhysormond

07/04/2018 at 07:17AM

20
#1729 - Alfredo Ribeiro / @aribeiro

07/05/2018 at 02:09PM

20
#1730 - xarfg / @xarphg

07/05/2018 at 02:53PM

20
#1731 - ¬¬¬ ¬¬¬ / @WLq3KGhxohrCPl1

07/09/2018 at 01:02AM

20
#1732 - Der Wucher / @derwucher

07/21/2018 at 08:42PM

20
#1733 - Herbert Ilhan / @donjar11

07/23/2018 at 11:23AM

20
#1734 - Rajesh Sharma / @deepredsky

07/24/2018 at 03:45PM

20
#1735 - qed / @qed13308565

07/25/2018 at 03:35AM

20
#1736 - Seongho Kang / @upgradeksh

07/27/2018 at 03:16AM

20
#1737 - Jules RIGOMONT / @rigomontj

07/29/2018 at 08:21PM

20
#1738 - aaa1195 / @aaa11954

08/03/2018 at 06:37PM

20
#1739 - PCS Solutions / @PeteSolutions

08/08/2018 at 12:30AM

20
#1740 - Netcraft Reporter / @NetcraftReport1

08/08/2018 at 02:35PM