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):
25
#391 - Salvador Tojo Quintela / @SalvadorTojo

10/10/2021 at 06:25AM

25
#392 - vimgolfaccfekxh / @vimgolfaccfekxh

10/20/2022 at 02:02PM

25
#393 - 咸糖🎯 / @GIA917229015

07/10/2023 at 05:16AM

25
#394 - Nobody / @Nobody58608634

07/10/2023 at 05:18AM

25
#395 - gpfl0712 / @gpfl0712

04/14/2024 at 12:37PM

25
#396 - Pavel Dostál / @pdostal

05/16/2024 at 05:45PM

25
#397 - 0xf00ff00f / @0xf00ff00f

12/30/2024 at 12:17AM

26
#398 - Daniel Lundin / @danielundin

07/17/2012 at 08:26AM

26
#399 - captain_morgan / @captain_morgan

07/17/2012 at 08:58AM

26
#400 - Drew Benedetti / @cnorsl

07/17/2012 at 07:09PM

26
#401 - Anouar ADLANI / @aadlani

07/20/2012 at 12:19PM

26
#402 - Glen / @Glen_S

07/20/2012 at 08:10PM

26
#403 - Maciej Wos / @MaciejWos

07/21/2012 at 04:46AM

26
#404 - Adit Cahya Ramadhan / @aditcr8

07/22/2012 at 06:35PM

26
#405 - Andrew Warner / @wwarner

07/24/2012 at 03:16AM

26
#406 - Ryan Patterson / @CGamesPlay

07/29/2012 at 04:08PM

26
#407 - Aaron Hall / @aarontothemax

08/05/2012 at 12:44AM

26
#408 - Greg Sexton / @greg_sexton

08/05/2012 at 10:35AM

26
#409 - Björn Holdt / @bholdt

08/11/2012 at 11:33AM

26
#410 - Reed Riley / @ReedRile

08/11/2012 at 05:29PM

26
#411 - Michael Limiero / @michaellimiero

08/13/2012 at 09:30PM

26
#412 - Martin Petrov / @mgpetrov

08/23/2012 at 12:23PM

26
#413 - Chaos / @gbchaosmaster

08/26/2012 at 10:24PM

26
#414 - JustGage / @JustGage

09/03/2012 at 06:22AM

26
#415 - Arne Ehrlich / @typedlambda

09/06/2012 at 08:09AM

26
#416 - BostX / @BostX

09/06/2012 at 02:06PM

26
#417 - Kerry Burke / @kurver

09/11/2012 at 09:15AM

26
#418 - Joachim / @jodles89

09/11/2012 at 08:12PM

26
#419 - Andrew Flockhart / @andruflockhart

09/15/2012 at 11:33PM

26
#420 - JTeo / @JTeosw

11/06/2012 at 12:16AM