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 @SusSquirrel:

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

182 active golfers, 441 entries

Solutions by @SusSquirrel:
14
#64 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:44PM

15
#>79 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:43PM

15
#>79 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:44PM

16
#>99 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:42PM

17
#>145 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:42PM

18
#>154 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:40PM

20
#>169 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:39PM

27
#>177 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:38PM

30
#>177 - Arya Kumar / @SusSquirrel

06/10/2021 at 04:37PM