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 50048db8cdc4060002000004

Vertical Limit

transform a succession of one word lines to a an array of strings

Start file
There
is
no
vertical
limit
for
vim
Ninjas
End file
[ "There", "is", "no", "vertical", "limit", "for", "vim", "Ninjas" ]

View Diff

1,8c1
< There
< is
< no
< vertical
< limit
< for
< vim
< Ninjas
---
> [ "There", "is", "no", "vertical", "limit", "for", "vim", "Ninjas" ]

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 756 remaining solutions by signing in and submitting your own entry
#757 Prasanna N / @SupertrampPras - Score: 226 - 08/07/12 @ 16:49
jjjkkkkVGJI[ <C-S><BS><C-S><BS>jj<BS><BS><Esc>A ]<C-]><BS><Esc>hbbbbbbbbblwvei"<C-S>vhhhhi"<C-S><BS><Esc>;llllla"<Esc>ll.uh.uhh.lll.uhh.l.ll.lllhh.llllllll.llh.lllll.llh.lll.ll.uhh.lll.llh.llllll.:w<CR>hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhha,<Esc>lllll.lllll.WWhh.eE.E.E.:wq<CR>

0 comments


Created by: @knarfben

757 active golfers, 2552 entries

Leaderboard (lowest score wins):
28
#601 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 02:59PM

28
#602 - Luis Rodriguez / @luisthecoder

11/15/2018 at 12:59AM

28
#603 - Nils Moehrle / @MoehrleNils

05/06/2019 at 07:57PM

28
#604 - Asbjørn Riddervold / @ARiddervold

10/11/2020 at 06:17PM

28
#605 - rappenstein2 / @rappenstein2

01/11/2022 at 09:04PM

28
#606 - freebejan / @freebejan

08/09/2022 at 10:36PM

28
#607 - Brandon / @Brandon10678836

08/31/2022 at 11:08PM

28
#608 - Yash Kulshrestha / @YashdalfTheGray

05/09/2024 at 05:40PM

29
#609 - Nick S / @grittygrease

07/16/2012 at 10:21PM

29
#610 - Arjen Dijkstra / @u_boot

07/17/2012 at 01:41PM

29
#611 - Eric Söderström / @eksoderstrom

07/17/2012 at 08:35PM

29
#612 - ☈king / @SharpsawDotOrg

07/27/2012 at 01:36AM

29
#613 - J Paul Daigle / @philosodad

08/16/2012 at 08:07PM

29
#614 - Joe Nelson / @begriffs

08/18/2012 at 11:04PM

29
#615 - Peter Etheryte / @Etheryte

09/02/2012 at 11:45PM

29
#616 - Vim rocks / @vimrocks

10/06/2012 at 11:18PM

29
#617 - Tallak Tveide / @tallakt

10/17/2012 at 07:46AM

29
#618 - Nicolas Friedli / @NicolasFriedli

10/29/2012 at 10:02PM

29
#619 - Alec Chen / @alec929

11/03/2012 at 11:51AM

29
#620 - James Thomson / @jomsie

01/09/2013 at 08:43PM

29
#621 - Aidan Whitehall / @aidanwhitehall

05/14/2013 at 02:55PM

29
#622 - Toto l'haricot / @nico_le_terribl

06/27/2013 at 06:40PM

29
#623 - isayoldchap / @isayoldchap

09/07/2013 at 04:22AM

29
#624 - Paul Roberts / @psxpau1

10/13/2013 at 07:43AM

29
#625 - Sami Niiranen / @saminiir

10/13/2013 at 10:55AM

29
#626 - David Heath / @DavidHeath16

11/11/2013 at 11:04PM

29
#627 - Ali El Amine / @Allouch95

02/02/2014 at 04:20PM

29
#628 - Jacob / @jayekub

03/22/2014 at 11:40PM

29
#629 - CJ Avilla / @cjav_dev

05/10/2014 at 11:49PM

29
#630 - Kolja Wilcke / @01k

08/13/2014 at 08:26AM