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):
21
#61 - Bennett Bernardoni / @BBernardoni

07/03/2017 at 07:47PM

21
#62 - Song Zheng / @songz

09/26/2017 at 08:14PM

21
#63 - Maricris Bonzo / @seemcat

09/28/2017 at 04:12AM

21
#64 - Luke Bryant / @LukeBryant55

10/07/2017 at 06:03PM

21
#65 - Florian Kluck / @KluckF

11/01/2017 at 09:18AM

21
#66 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 03:50PM

21
#67 - ParasamGateZero / @ParasamGateZero

01/12/2018 at 02:24AM

21
#68 - martin tourneboeuf / @martintournebo1

02/10/2018 at 11:47PM

21
#69 - GreenPinguin / @GreenPinguin2

03/20/2018 at 08:52AM

21
#70 - DHM / @DHM29978992

04/21/2018 at 01:43AM

21
#71 - Daniël De Koker / @daniel_koker

07/02/2018 at 06:59AM

21
#72 - Aleksey N. / @nag5001

07/15/2018 at 01:34PM

21
#73 - vg / @vg53210350

10/28/2018 at 11:11PM

21
#74 - Turkey Man / @lvturkeyman

12/04/2018 at 06:23AM

21
#75 - alekfed / @alek_fed

04/15/2019 at 01:58PM

21
#76 - Grant / @grant_7788

05/07/2019 at 07:54AM

21
#77 - kakunpala / @kakun_pala

05/10/2019 at 09:34PM

21
#78 - james_bunch / @james_bunch

05/12/2019 at 07:38AM

21
#79 - Ron Holt / @ron_holt

08/14/2019 at 07:32PM

21
#80 - Brandon Harrison / @llAboutB

09/24/2019 at 10:40PM

21
#81 - Viktor Styrud / @ViktorStyrud

10/14/2019 at 02:36PM

21
#82 - vimgolfer / @vimgolfer7

10/21/2019 at 01:38AM

21
#83 - Mario Olofo / @mario_olofo

10/24/2019 at 01:12AM

21
#84 - James Casey / @hanavi

12/22/2019 at 03:11AM

21
#85 - countime / @countime1

03/13/2020 at 09:54AM

21
#86 - Marco / @Marco24456514

03/22/2020 at 12:03AM

21
#87 - Arthur Goodman / @ArthurGoodman3

05/01/2020 at 12:34PM

21
#88 - Jason / @roosjason

05/25/2020 at 02:01AM

21
#89 - chocolate / @chocola81394123

11/29/2020 at 03:54PM

21
#90 - hepebexè / @hepebexe

12/28/2020 at 07:24PM