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 4fa085222037000001000045

Reverse and double space

Reverse the order of the given lines and double space everything

Start file
1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui.
3. Aenean eu leo quam.
4. Pellentesque ornare sem lacinia quam venenatis vestibulum.
5. Aenean lacinia bibendum nulla sed consectetur.
End file
5. Aenean lacinia bibendum nulla sed consectetur.

4. Pellentesque ornare sem lacinia quam venenatis vestibulum.

3. Aenean eu leo quam.

2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui.

1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

View Diff

1,4d0
< 1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
< 2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui.
< 3. Aenean eu leo quam.
< 4. Pellentesque ornare sem lacinia quam venenatis vestibulum.
5a2,10
> 
> 4. Pellentesque ornare sem lacinia quam venenatis vestibulum.
> 
> 3. Aenean eu leo quam.
> 
> 2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui.
> 
> 1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
> 

Solutions by @whole_grainsley:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @twosoul

199 active golfers, 500 entries

Solutions by @whole_grainsley:
18
#166 - Ainsley McGrath / @whole_grainsley

01/29/2020 at 02:00AM