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

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

4160 active golfers, 11346 entries

Solutions by @PlayerVim:
7
#1278 - Vim Player / @PlayerVim

09/08/2019 at 12:42PM

8
#>2907 - Vim Player / @PlayerVim

09/08/2019 at 12:38PM

8
#>2907 - Vim Player / @PlayerVim

09/08/2019 at 12:40PM

8
#>2907 - Vim Player / @PlayerVim

09/08/2019 at 12:41PM

11
#>3926 - Vim Player / @PlayerVim

09/08/2019 at 12:44PM

12
#>4004 - Vim Player / @PlayerVim

09/08/2019 at 12:43PM