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
#181 - Adrien Lemaire ドリ / @Adrien_Lemaire_

10/05/2020 at 06:30AM

22
#182 - Michel Viktor / @tomkpz

08/10/2021 at 02:50AM

22
#183 - Jean George / @JeanGeo20504212

10/03/2021 at 03:32PM

22
#184 - Wojtic / @Wojtic1

03/31/2022 at 07:22PM

22
#185 - Vlastimil Zíma / @ziima

10/12/2024 at 11:49AM

22
#186 - Emil Miler / @realcharmer

10/12/2024 at 11:56AM

23
#187 - John Whitley / @johnwhitley

07/17/2012 at 12:17AM

23
#188 - Kerson Hsiao / @KersonHsiao

07/17/2012 at 03:10AM

23
#189 - Daniel S / @smatter0ne

07/17/2012 at 09:12AM

23
#190 - David Galeano / @davidgaleano

07/17/2012 at 11:00AM

23
#191 - Frank Twitting / @knarfben

07/17/2012 at 11:10AM

23
#192 - Veezus Kreist / @veezus

07/17/2012 at 06:44PM

23
#193 - Tesnorth / @Tesnorth

07/17/2012 at 08:08PM

23
#194 - Tadas Sce / @tadassce

07/18/2012 at 12:53PM

23
#195 - abernardes / @abernardes

07/18/2012 at 05:28PM

23
#196 - David Hu / @divad_12

07/19/2012 at 05:19AM

23
#197 - d1hotpep / @d1hotpep

07/29/2012 at 05:44PM

23
#198 - Jacob Taylor / @jacobltaylor

08/05/2012 at 02:16AM

23
#199 - Emile Swarts / @EmileSwarts

08/11/2012 at 11:20PM

23
#200 - jDeveloper / @jDevEE

08/15/2012 at 07:35PM

23
#201 - Alex Tercete / @alextercete

08/24/2012 at 04:54AM

23
#202 - Brendan Op 't Root / @OptrootB

08/27/2012 at 11:25AM

23
#203 - J. Nick Terry / @deft_code

08/28/2012 at 07:16AM

23
#204 - tmr / @tmr314

09/04/2012 at 01:33PM

23
#205 - じょんあば / @john_ababa

09/16/2012 at 07:46AM

23
#206 - Édouard M'tou / @DouardM

10/09/2012 at 08:31AM

23
#207 - Nathan / @boysetsfrog

10/13/2012 at 11:27AM

23
#208 - marcos grillo / @marcos_grillor

11/01/2012 at 07:39PM

23
#209 - David Barnett / @mu_mind

11/26/2012 at 09:47AM

23
#210 - DR / @dde81

12/23/2012 at 01:54AM