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

706 active golfers, 2319 entries

Leaderboard (lowest score wins):
25
#361 - Jonathan Camilleri / @Too_Many_Taken

05/28/2018 at 05:11PM

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

08/23/2018 at 09:26AM

25
#363 - Dheepak Krishnamurthy / @kdk_t

07/02/2020 at 09:12AM

25
#364 - Ebi / @ehan6

07/09/2020 at 08:03PM

25
#365 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 07:43PM

26
#366 - Daniel Lundin / @danielundin

07/17/2012 at 08:26AM

26
#367 - captain_morgan / @captain_morgan

07/17/2012 at 08:58AM

26
#368 - Drew Benedetti / @cnorsl

07/17/2012 at 07:09PM

26
#369 - Anouar ADLANI / @aadlani

07/20/2012 at 12:19PM

26
#370 - Glen / @Glen_S

07/20/2012 at 08:10PM

26
#371 - Maciej Wos / @MaciejWos

07/21/2012 at 04:46AM

26
#372 - Adit Cahya Ramadhan / @aditcr8

07/22/2012 at 06:35PM

26
#373 - Andrew Warner / @wwarner

07/24/2012 at 03:16AM

26
#374 - Ryan Patterson / @CGamesPlay

07/29/2012 at 04:08PM

26
#375 - Aaron Hall / @aarontothemax

08/05/2012 at 12:44AM

26
#376 - Greg Sexton / @greg_sexton

08/05/2012 at 10:35AM

26
#377 - Björn Holdt / @bholdt

08/11/2012 at 11:33AM

26
#378 - Reed Riley / @ReedRile

08/11/2012 at 05:29PM

26
#379 - Michael Limiero / @michaellimiero

08/13/2012 at 09:30PM

26
#380 - Martin Petrov / @mgpetrov

08/23/2012 at 12:23PM

26
#381 - Chaos / @gbchaosmaster

08/26/2012 at 10:24PM

26
#382 - JustGage / @JustGage

09/03/2012 at 06:22AM

26
#383 - Arne Ehrlich / @typedlambda

09/06/2012 at 08:09AM

26
#384 - BostX / @BostX

09/06/2012 at 02:06PM

26
#385 - Kerry Burke / @kurver

09/11/2012 at 09:15AM

26
#386 - Joachim / @jodles89

09/11/2012 at 08:12PM

26
#387 - Andrew Flockhart / @andruflockhart

09/15/2012 at 11:33PM

26
#388 - JTeo / @JTeosw

11/06/2012 at 12:16AM

26
#389 - Jason Wolf / @zephyr_wolf

11/08/2012 at 05:20PM

26
#390 - 4L41N / @4L41N1

11/13/2012 at 09:23PM