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 by @wemgulfer:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @knarfben

744 active golfers, 2479 entries

Solutions by @wemgulfer:
26
#496 - wemgulf / @wemgulfer

11/02/2023 at 02:34PM

28
#>597 - wemgulf / @wemgulfer

11/02/2023 at 08:48AM