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

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

4016 active golfers, 10896 entries

Solutions by @dsummersl:
7
#29 - Dane Summers / @dsummersl

12/19/2014 at 03:20PM

7
#>1395 - Dane Summers / @dsummersl

07/16/2020 at 08:22PM

7
#>1395 - Dane Summers / @dsummersl

07/16/2020 at 08:23PM

8
#>1492 - Dane Summers / @dsummersl

12/19/2014 at 03:15PM

8
#>1964 - Dane Summers / @dsummersl

11/14/2015 at 11:50PM

8
#>1964 - Dane Summers / @dsummersl

11/14/2015 at 11:50PM

8
#>3014 - Dane Summers / @dsummersl

07/16/2020 at 08:19PM

8
#>3014 - Dane Summers / @dsummersl

07/16/2020 at 08:21PM

9
#>3077 - Dane Summers / @dsummersl

12/19/2014 at 03:13PM

9
#>3077 - Dane Summers / @dsummersl

12/19/2014 at 03:13PM

9
#>3243 - Dane Summers / @dsummersl

11/14/2015 at 11:49PM

10
#>3578 - Dane Summers / @dsummersl

11/14/2015 at 11:49PM

10
#>3712 - Dane Summers / @dsummersl

07/16/2020 at 08:19PM

13
#>3903 - Dane Summers / @dsummersl

11/14/2015 at 11:49PM