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):
25
#331 - Jon Louie / @jjisnow

12/06/2016 at 02:33AM

25
#332 - Avijit Gupta / @526avijit

04/15/2017 at 08:36AM

25
#333 - Rami Hovi / @hacker_lawyer

05/19/2017 at 01:56PM

25
#334 - Carl Egbert / @CarlOEgbert

06/12/2017 at 01:04AM

25
#335 - Saul Hardman / @saulhardman

08/10/2017 at 07:19PM

25
#336 - Stephen Betts / @stephenbetts

09/26/2017 at 08:47PM

25
#337 - ybark / @ybark

09/27/2017 at 02:44PM

25
#338 - Sebastian Müller / @echsberde

01/06/2018 at 05:08PM

25
#339 - Tautvilas / @TautviIas

03/29/2018 at 12:29PM

25
#340 - Vytautas Jakutis / @jakutis0

03/29/2018 at 12:33PM

25
#341 - slicklash / @slicklash

03/29/2018 at 12:35PM

25
#342 - Jonathan Camilleri / @Too_Many_Taken

05/28/2018 at 05:11PM

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

08/23/2018 at 09:26AM

26
#344 - Daniel Lundin / @danielundin

07/17/2012 at 08:26AM

26
#345 - captain_morgan / @captain_morgan

07/17/2012 at 08:58AM

26
#346 - Drew Benedetti / @cnorsl

07/17/2012 at 07:09PM

26
#347 - Anouar ADLANI / @aadlani

07/20/2012 at 12:19PM

26
#348 - Glen / @Glen_S

07/20/2012 at 08:10PM

26
#349 - Maciej Wos / @MaciejWos

07/21/2012 at 04:46AM

26
#350 - Adit Cahya Ramadhan / @aditcr8

07/22/2012 at 06:35PM

26
#351 - Andrew Warner / @wwarner

07/24/2012 at 03:16AM

26
#352 - Ryan Patterson / @CGamesPlay

07/29/2012 at 04:08PM

26
#353 - Aaron Hall / @aarontothemax

08/05/2012 at 12:44AM

26
#354 - Greg Sexton / @greg_sexton

08/05/2012 at 10:35AM

26
#355 - Björn Holdt / @bholdt

08/11/2012 at 11:33AM

26
#356 - Reed Riley / @ReedRile

08/11/2012 at 05:29PM

26
#357 - Michael Limiero / @michaellimiero

08/13/2012 at 09:30PM

26
#358 - Martin Petrov / @mgpetrov

08/23/2012 at 12:23PM

26
#359 - Chaos / @gbchaosmaster

08/26/2012 at 10:24PM

26
#360 - JustGage / @JustGage

09/03/2012 at 06:22AM