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

757 active golfers, 2552 entries

Leaderboard (lowest score wins):
22
#151 - kwa / @kwa129

07/13/2014 at 03:43AM

22
#152 - LC / @leeren

08/10/2014 at 06:16AM

22
#153 - April Gentle / @chen327684096

09/06/2014 at 08:21AM

22
#154 - Michael Comerford / @MComerford1

09/20/2014 at 06:38PM

22
#155 - xieyh11 / @xieyh11

02/27/2015 at 08:53AM

22
#156 - pftb12345 / @pftb12345

04/04/2015 at 10:55AM

22
#157 - E Both / @enboth

04/29/2015 at 07:21AM

22
#158 - Domingue Justin / @_jdomingue

10/15/2015 at 04:23PM

22
#159 - Jon Krause / @jkrause314

12/31/2015 at 06:31AM

22
#160 - Janine Cheng / @janineist

02/12/2016 at 04:41PM

22
#161 - Frank Qi / @qdev76

03/09/2016 at 11:15PM

22
#162 - niels aamloos / @asqwdfff

06/05/2016 at 08:24PM

22
#163 - Ram Tamtam / @ramtamtamtam

06/28/2016 at 11:37AM

22
#164 - BlackCap / @BlackCapCoder

11/24/2016 at 01:34AM

22
#165 - Raymond Chee / @rchomium

03/05/2017 at 04:11PM

22
#166 - Alex Linden / @alexwlinden1

04/26/2017 at 07:07PM

22
#167 - Sergio / @voyeg3r

09/24/2017 at 04:34PM

22
#168 - garry quested / @GQuested

09/25/2017 at 11:49AM

22
#169 - Lisa Ugray / @lisa_ugray

03/14/2018 at 12:27PM

22
#170 - Brendan B Amdocs / @AmdocsB

09/25/2018 at 03:07PM

22
#171 - Anant Mishra / @anantanni22

12/01/2018 at 02:49AM

22
#172 - Mihai / @mihaicristiant

12/05/2018 at 12:21PM

22
#173 - Bob_V / @Bob_V

12/18/2018 at 05:29PM

22
#174 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 04:01AM

22
#175 - Chester Yap / @Chest_ErYap

07/22/2019 at 12:41PM

22
#176 - Baine Wedlock / @BaineWedlock

09/26/2019 at 09:04AM

22
#177 - Kenny Low / @kennylow

09/27/2019 at 10:37AM

22
#178 - Lory / @Lory46845742

11/14/2019 at 09:08AM

22
#179 - Johannes Riecken / @rubystallion

01/15/2020 at 09:24PM

22
#180 - floyd / @floyd10086

05/12/2020 at 04:45AM