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 2704 remaining solutions by signing in and submitting your own entry
#2705 호도르 / @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

2705 active golfers, 12428 entries

Leaderboard (lowest score wins):
23
#2011 - Albertux / @_Albertux

06/20/2016 at 07:19AM

23
#2012 - Vaisian / @Vaisian

07/02/2016 at 08:02PM

23
#2013 - Samir Sadek / @netsamir

07/10/2016 at 07:02AM

23
#2014 - Charles Qian / @aWarmWalrus

07/12/2016 at 10:03PM

23
#2015 - Abraao Mota / @AbraaoMot

07/13/2016 at 04:29PM

23
#2016 - Anton Pidkuiko / @pidkuiko

07/14/2016 at 08:33AM

23
#2017 - Alan Richards / @alarobric

07/16/2016 at 01:10AM

23
#2018 - Jonas / @Amnesiacu

07/20/2016 at 12:32PM

23
#2019 - no / @masongclayton

08/05/2016 at 07:32AM

23
#2020 - David Aguilera / @davilera

08/11/2016 at 02:11PM

23
#2021 - Nik Sun / @CandySunPlus

08/16/2016 at 06:29AM

23
#2022 - Ewoud Smeur / @Ewoud90

08/22/2016 at 08:48PM

23
#2023 - jweida / @AlbsteinJweida

08/23/2016 at 06:53PM

23
#2024 - Koen Hausmans / @KoenHausmans

08/25/2016 at 08:45AM

23
#2025 - Putente / @Putente_

08/25/2016 at 04:45PM

23
#2026 - Andsmat / @asdsadsandkage

08/26/2016 at 09:17AM

23
#2027 - MathiKathi / @mathikathi

08/31/2016 at 09:47PM

23
#2028 - TETSU / @kaoru6strings

09/01/2016 at 12:24AM

23
#2029 - 吞枣 / @l_tunzao

09/01/2016 at 07:36AM

23
#2030 - tetor / @t_etor

09/10/2016 at 08:28AM

23
#2031 - javier castro / @eusipial

09/12/2016 at 04:04PM

23
#2032 - コウモリ@real / @komori_meip

09/13/2016 at 05:54AM

23
#2033 - davidcgv / @davidcgv

09/13/2016 at 09:45PM

23
#2034 - Bendik Samseth / @BSamseth

09/19/2016 at 01:02PM

23
#2035 - Marco Sterbik / @madbadmax00

09/19/2016 at 08:16PM

23
#2036 - Anthony Ardito / @aardito21

09/25/2016 at 11:22PM

23
#2037 - Mac Clark / @macclark

09/30/2016 at 02:44AM

23
#2038 - Josh Callender / @Saponifi3d

10/15/2016 at 11:42PM

23
#2039 - Billy / @yukuanxu

10/17/2016 at 08:12AM

23
#2040 - Kyoungchin Seo(서경진) / @jiniseo

10/17/2016 at 04:29PM