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 54862fbb3f90ac0002904cf5

Just the middle

Delete the instructions at the top and bottom.

Start file
Leave only the
numbered lines.
LINE 1
LINE 2
LINE 3
That's all.
Thank you
very much.
End file
LINE 1
LINE 2
LINE 3

View Diff

1,2d0
< Leave only the
< numbered lines.
6,8d3
< That's all.
< Thank you
< very much.

Solutions by @charlieoconor:

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

4194 active golfers, 11446 entries

Solutions by @charlieoconor:
7
#858 - Charlie OConor / @charlieoconor

03/31/2017 at 08:22PM

7
#>1243 - Charlie OConor / @charlieoconor

06/11/2019 at 10:09PM

8
#>2351 - Charlie OConor / @charlieoconor

01/19/2017 at 05:46PM

8
#>2351 - Charlie OConor / @charlieoconor

01/19/2017 at 05:48PM

8
#>2351 - Charlie OConor / @charlieoconor

01/20/2017 at 01:56AM

8
#>2398 - Charlie OConor / @charlieoconor

03/31/2017 at 08:18PM

8
#>2537 - Charlie OConor / @charlieoconor

10/30/2017 at 11:30PM

8
#>2854 - Charlie OConor / @charlieoconor

06/11/2019 at 10:07PM

9
#>3469 - Charlie OConor / @charlieoconor

01/20/2017 at 01:55AM