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
#91 - Jung Yeon Park / @park_jungy

01/14/2021 at 02:14PM

21
#92 - A A A / @37fatos

01/16/2021 at 08:54PM

21
#93 - Arya Kumar / @SusSquirrel

05/26/2021 at 02:24AM

21
#94 - Jacob Puthipiroj / @puthipiroj

11/15/2021 at 03:40PM

21
#95 - Flimsy Giraffe / @flimsy_giraffe

11/28/2021 at 04:12PM

21
#96 - blabla zincou / @BZincou

03/28/2022 at 07:27PM

21
#97 - Qing Liu / @poeminlash

08/14/2022 at 03:23AM

21
#98 - Janzen / @__Coos

09/24/2022 at 01:59PM

21
#99 - Hans Wurscht / @HansW313

09/26/2023 at 01:27PM

21
#100 - evgenii-kokorin / @evgenii-kokorin

02/14/2024 at 10:48AM

21
#101 - Jonathan El-Khoury / @jonoelk

04/26/2024 at 06:31AM

21
#102 - Petro Mudrievskyj / @petemud

07/01/2024 at 11:30AM

21
#103 - nickGPT / @nickandbro

08/28/2024 at 08:07PM

21
#104 - Peppa Pig / @PeppaPigSg

08/31/2024 at 07:37AM

21
#105 - Suhaib Murshid / @suhaibm

09/07/2024 at 05:15AM

21
#106 - Ondrej Brablc / @brablc

10/12/2024 at 04:48PM

21
#107 - Arnold Samuel Chan / @arnoldschan

03/27/2025 at 03:07AM

22
#108 - Tim Chase / @gumnos

07/17/2012 at 12:10AM

22
#109 - Raúl Jara / @rauljara

07/17/2012 at 12:11AM

22
#110 - wes / @_weslly

07/17/2012 at 01:22AM

22
#111 - mwatkward / @AftrschoolSpe

07/17/2012 at 07:32AM

22
#112 - Sebastian Kusnier / @skusnier

07/17/2012 at 08:33AM

22
#113 - Ben Alpert / @soprano

07/17/2012 at 08:50AM

22
#114 - Augustin Trancart / @autra42

07/17/2012 at 09:23AM

22
#115 - Martin Lundberg / @marlun

07/17/2012 at 09:57AM

22
#116 - Andrew Dorman / @andydorman

07/17/2012 at 12:43PM

22
#117 - Federico Galassi / @federicogalassi

07/17/2012 at 02:05PM

22
#118 - Justin Love / @wondible

07/17/2012 at 03:07PM

22
#119 - Conner McDaniel / @connermcd

07/17/2012 at 03:15PM

22
#120 - Gary Fixler / @gfixler

07/18/2012 at 07:16AM