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

669 active golfers, 2163 entries

Leaderboard (lowest score wins):
47
#661 - d8d90d / @d8d90d

08/18/2018 at 11:51PM

47
#662 - Vim Golfer / @VimGolfer6

09/05/2019 at 03:17PM

49
#663 - Jurica / @Jurica34581259

11/16/2018 at 01:13PM

53
#664 - William Ott / @oddalot

12/08/2013 at 03:29AM

54
#665 - Sven Koesling / @McSvenster

08/14/2012 at 02:44PM

61
#666 - Justin Knag / @justinknag

08/28/2014 at 02:48PM

78
#667 - Kim Le / @kimledev1

07/31/2012 at 09:22PM

85
#668 - Rico P / @RicoTweet

09/02/2012 at 12:06PM

226
#669 - Prasanna N / @SupertrampPras

08/07/2012 at 04:49PM