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

670 active golfers, 2167 entries

Leaderboard (lowest score wins):
22
#121 - Thomas GUILLORY / @thomasguillory

03/11/2014 at 10:24AM

22
#122 - Joonas Pihlajamaa / @jokkebk

03/17/2014 at 12:29PM

22
#123 - Jeff / @just_geophree

04/03/2014 at 05:48AM

22
#124 - wizardwerdna / @wizardwerdna

05/24/2014 at 10:51PM

22
#125 - John Meisner / @jmeisned

06/24/2014 at 10:13PM

22
#126 - bXpjE4GzUfnPTRHes1mI / @5DQzMDKJs2VoVt

07/03/2014 at 05:44PM

22
#127 - kwa / @kwa129

07/13/2014 at 03:43AM

22
#128 - LC / @leeren

08/10/2014 at 06:16AM

22
#129 - April Gentle / @chen327684096

09/06/2014 at 08:21AM

22
#130 - Michael Comerford / @MComerford1

09/20/2014 at 06:38PM

22
#131 - xieyh11 / @xieyh11

02/27/2015 at 08:53AM

22
#132 - pftb12345 / @pftb12345

04/04/2015 at 10:55AM

22
#133 - E Both / @enboth

04/29/2015 at 07:21AM

22
#134 - Domingue Justin / @_jdomingue

10/15/2015 at 04:23PM

22
#135 - Jon Krause / @jkrause314

12/31/2015 at 06:31AM

22
#136 - Janine Cheng / @janineist

02/12/2016 at 04:41PM

22
#137 - Frank Qi / @qdev76

03/09/2016 at 11:15PM

22
#138 - niels aamloos / @asqwdfff

06/05/2016 at 08:24PM

22
#139 - Ram Tamtam / @ramtamtamtam

06/28/2016 at 11:37AM

22
#140 - BlackCap / @BlackCapCoder

11/24/2016 at 01:34AM

22
#141 - Raymond Chee / @rchomium

03/05/2017 at 04:11PM

22
#142 - Alex Linden / @alexwlinden1

04/26/2017 at 07:07PM

22
#143 - Sergio / @voyeg3r

09/24/2017 at 04:34PM

22
#144 - garry quested / @GQuested

09/25/2017 at 11:49AM

22
#145 - Lisa Ugray / @lisa_ugray

03/14/2018 at 12:27PM

22
#146 - Brendan B Amdocs / @AmdocsB

09/25/2018 at 03:07PM

22
#147 - Anant Mishra / @anantanni22

12/01/2018 at 02:49AM

22
#148 - Mihai / @mihaicristiant

12/05/2018 at 12:21PM

22
#149 - Bob_V / @Bob_V

12/18/2018 at 05:29PM

22
#150 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 04:01AM