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):
26
#451 - Nicolás Alvarez / @nicoa_bb_ba_ar

02/19/2017 at 08:08PM

26
#452 - Elizabeth / @sprinkles418

10/04/2017 at 06:56PM

26
#453 - Geoff / @RealGeoffErwin

12/14/2017 at 09:02PM

26
#454 - Spacesh1p / @spacesh1pdev

01/08/2018 at 01:38PM

26
#455 - Arijus / @argshook

03/29/2018 at 12:32PM

26
#456 - Bruce Adams / @bruceadams1054

10/07/2018 at 10:11AM

26
#457 - GUL / @GUL_THE_TWITTO

10/15/2018 at 09:12PM

26
#458 - dorpo / @dorpo2

11/01/2018 at 10:37PM

26
#459 - Andreas Nordahl / @andreasnordahl

11/15/2018 at 03:03PM

26
#460 - Mark Watson / @mrkrwtsn

11/30/2018 at 08:38PM

26
#461 - majo senf / @majo_senf

06/18/2019 at 11:09AM

26
#462 - Ivo Blöchliger / @aigledesalpes

08/06/2019 at 08:32AM

26
#463 - José / @AngelGaldamez

10/05/2019 at 01:52AM

26
#464 - hokonch / @hokonch

12/22/2019 at 04:54PM

26
#465 - Jason Neylon / @jasonneylon

03/07/2020 at 04:48PM

26
#466 - Ryan Nevius / @ryannevius

03/28/2020 at 07:16PM

26
#467 - RockerZZY / @rocker_zzy

05/30/2020 at 01:10PM

26
#468 - Di Liu / @Skyerliu

06/21/2020 at 01:50PM

26
#469 - mindgitrwx / @mindgitrwx

08/30/2020 at 09:39AM

26
#470 - mevmev / @mevmev8

09/12/2021 at 10:32AM

27
#471 - Ori Kremer / @orikr

08/06/2012 at 09:23PM

27
#472 - Aaron Miller / @apage43

08/12/2012 at 03:04AM

27
#473 - Salvador / @smastermind

08/15/2012 at 12:10PM

27
#474 - Stephen Fiorelli / @sfiorell2

08/22/2012 at 07:10PM

27
#475 - Eumir Gaspar / @corrodedlotus

08/23/2012 at 07:50AM

27
#476 - Jan Wedekind / @wedesoft

08/29/2012 at 11:16AM

27
#477 - Darrin Holst / @darrinholst

08/31/2012 at 02:19AM

27
#478 - Underhill Labs / @underhilllabs

10/30/2012 at 05:49AM

27
#479 - Mikko Loponen / @lopossumi

11/08/2012 at 08:59PM

27
#480 - Michael / @patheticpat

12/17/2012 at 01:58PM