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

688 active golfers, 2243 entries

Leaderboard (lowest score wins):
25
#331 - Daniel Pham / @dany_pham

10/14/2015 at 04:43AM

25
#332 - Árpád Krejczinger / @krarpi

11/09/2015 at 03:22PM

25
#333 - Benjamin Miller / @Bmiller14Miller

03/04/2016 at 03:04PM

25
#334 - antew / @antewcode

03/04/2016 at 03:08PM

25
#335 - Chenut Ludovic / @7Brwa7

04/01/2016 at 11:40AM

25
#336 - Michael Buckley / @apolatg

05/12/2016 at 08:44PM

25
#337 - Andres Araya / @arayaandresfco

05/24/2016 at 04:07AM

25
#338 - Ben Hill / @KaizenSoze70

06/08/2016 at 06:51PM

25
#339 - Jeremiah Goyette / @JeremiahGoyette

08/02/2016 at 05:22AM

25
#340 - David Aguilera / @davilera

08/11/2016 at 02:28PM

25
#341 - TweetDreams / @TweetMusicians

10/10/2016 at 10:15AM

25
#342 - Jon Louie / @jjisnow

12/06/2016 at 02:33AM

25
#343 - Avijit Gupta / @526avijit

04/15/2017 at 08:36AM

25
#344 - Rami Hovi / @hacker_lawyer

05/19/2017 at 01:56PM

25
#345 - Carl Egbert / @CarlOEgbert

06/12/2017 at 01:04AM

25
#346 - Saul Hardman / @saulhardman

08/10/2017 at 07:19PM

25
#347 - Stephen Betts / @stephenbetts

09/26/2017 at 08:47PM

25
#348 - ybark / @ybark

09/27/2017 at 02:44PM

25
#349 - Sebastian Müller / @echsberde

01/06/2018 at 05:08PM

25
#350 - Tautvilas / @TautviIas

03/29/2018 at 12:29PM

25
#351 - Vytautas Jakutis / @jakutis0

03/29/2018 at 12:33PM

25
#352 - slicklash / @slicklash

03/29/2018 at 12:35PM

25
#353 - Jonathan Camilleri / @Too_Many_Taken

05/28/2018 at 05:11PM

25
#354 - Víctor López / @viticlick

08/23/2018 at 09:26AM

25
#355 - Dheepak Krishnamurthy / @kdk_t

07/02/2020 at 09:12AM

25
#356 - Ebi / @ehan6

07/09/2020 at 08:03PM

26
#357 - Daniel Lundin / @danielundin

07/17/2012 at 08:26AM

26
#358 - captain_morgan / @captain_morgan

07/17/2012 at 08:58AM

26
#359 - Drew Benedetti / @cnorsl

07/17/2012 at 07:09PM

26
#360 - Anouar ADLANI / @aadlani

07/20/2012 at 12:19PM