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 2833 remaining solutions by signing in and submitting your own entry
#2834 ν˜Έλ„λ₯΄ / @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

2834 active golfers, 13037 entries

Leaderboard (lowest score wins):
18
#1051 - Marcos Almeida / @almeidamarcos_

04/07/2018 at 10:48PM

18
#1052 - Florent Jaby / @Floby

04/09/2018 at 02:52PM

18
#1053 - Matt Fister / @Mistah_Fistah

04/18/2018 at 04:03AM

18
#1054 - David Porter / @phunculist

05/05/2018 at 07:08AM

18
#1055 - Niels Pedersen / @NielsLearnsPy

05/06/2018 at 08:16AM

18
#1056 - Martin H Juliussen / @martinjuliussen

05/11/2018 at 06:40PM

18
#1057 - πŸ‘β€πŸ—¨ / @_m_i_d_i

05/12/2018 at 05:38PM

18
#1058 - drumstix576 / @drumstix576

05/26/2018 at 10:35PM

18
#1059 - Jack Phelan / @bytesandwich1

06/11/2018 at 06:27AM

18
#1060 - Catalin Irimie / @CatalinIrimie

06/29/2018 at 09:49PM

18
#1061 - Alej / @mephl

07/01/2018 at 08:58PM

18
#1062 - Gemille Ford / @gemilleford

07/02/2018 at 12:59AM

18
#1063 - Espen H. Kristensen / @bgosl

07/02/2018 at 10:37PM

18
#1064 - Daniel Beck / @daniel_beck_il

07/12/2018 at 02:22PM

18
#1065 - Ian Webster / @iwebst

08/01/2018 at 01:04AM

18
#1066 - Juan Pablo Sarmiento / @PabloSarmiento

08/01/2018 at 01:04AM

18
#1067 - broken_art / @brokenart10

08/30/2018 at 02:03PM

18
#1068 - Jeff / @sir_wiggles3

09/07/2018 at 07:25AM

18
#1069 - ajs / @_ajsantander

10/15/2018 at 04:59PM

18
#1070 - Reuben Narkwo / @reubwo

10/16/2018 at 11:00PM

18
#1071 - Dima Matrohin / @wo_ogy

10/25/2018 at 10:16PM

18
#1072 - Juliette but spooky / @namebrandloser

10/26/2018 at 10:01PM

18
#1073 - Ole Mussmann / @isbjornlabs

10/27/2018 at 11:21PM

18
#1074 - greengreen / @greengr09073862

11/26/2018 at 09:11PM

18
#1075 - band / @band26376522

12/04/2018 at 08:08PM

18
#1076 - Marten Ringwelski / @Marteon27

12/09/2018 at 04:27PM

18
#1077 - Jamie Syme / @_jsyme

12/16/2018 at 04:11AM

18
#1078 - Sebastien Nicoud / @sebnukem

12/23/2018 at 02:45AM

18
#1079 - Visualizing Medicine / @VisualizeMed

12/28/2018 at 05:22PM

18
#1080 - γŸγγΏγƒΌοΌˆθ»’θ·γƒ‰γƒ©γ‚·γƒ«οΌ‰ / @reirei_As

01/08/2019 at 07:50AM