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

675 active golfers, 2189 entries

Leaderboard (lowest score wins):
40
#661 - theBecwar / @thebecwar

08/19/2019 at 09:59PM

42
#662 - phalkunz / @phalkunz

11/14/2013 at 10:25AM

42
#663 - Mohit Sharma / @m0hitsharma

12/30/2013 at 05:44AM

45
#664 - E.J. Finneran / @ejfinneran

08/09/2012 at 01:31AM

46
#665 - small2kuo / @small2kuo

08/01/2012 at 04:26PM

47
#666 - Alberto Pose / @thepose

11/06/2013 at 05:57PM

47
#667 - d8d90d / @d8d90d

08/18/2018 at 11:51PM

47
#668 - Vim Golfer / @VimGolfer6

09/05/2019 at 03:17PM

49
#669 - Jurica / @Jurica34581259

11/16/2018 at 01:13PM

53
#670 - William Ott / @oddalot

12/08/2013 at 03:29AM

54
#671 - Sven Koesling / @McSvenster

08/14/2012 at 02:44PM

61
#672 - Justin Knag / @justinknag

08/28/2014 at 02:48PM

78
#673 - Kim Le / @kimledev1

07/31/2012 at 09:22PM

85
#674 - Rico P / @RicoTweet

09/02/2012 at 12:06PM

226
#675 - Prasanna N / @SupertrampPras

08/07/2012 at 04:49PM