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

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

4016 active golfers, 10896 entries

Solutions by @_dextero:
7
#14 - Marcin Radomski / @_dextero

12/12/2014 at 09:44AM

7
#>107 - Marcin Radomski / @_dextero

01/27/2015 at 06:15PM

7
#>692 - Marcin Radomski / @_dextero

08/26/2016 at 12:56PM

8
#>1474 - Marcin Radomski / @_dextero

12/12/2014 at 09:42AM

8
#>1583 - Marcin Radomski / @_dextero

01/27/2015 at 06:15PM

8
#>2185 - Marcin Radomski / @_dextero

08/26/2016 at 12:53PM