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

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

4093 active golfers, 11086 entries

Solutions by @foobar01123:
7
#717 - Miłosz Łakomy / @foobar01123

09/15/2016 at 09:18AM

7
#>717 - Miłosz Łakomy / @foobar01123

09/15/2016 at 09:19AM

7
#>822 - Miłosz Łakomy / @foobar01123

02/15/2017 at 04:40PM

7
#>1239 - Miłosz Łakomy / @foobar01123

06/01/2019 at 05:42AM

7
#>1437 - Miłosz Łakomy / @foobar01123

10/30/2020 at 10:49AM

8
#>2229 - Miłosz Łakomy / @foobar01123

09/15/2016 at 09:15AM

9
#>3376 - Miłosz Łakomy / @foobar01123

09/15/2016 at 09:13AM

9
#>3501 - Miłosz Łakomy / @foobar01123

06/01/2019 at 05:33AM

9
#>3501 - Miłosz Łakomy / @foobar01123

06/01/2019 at 05:33AM

9
#>3559 - Miłosz Łakomy / @foobar01123

10/29/2020 at 12:54PM