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

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

4197 active golfers, 11454 entries

Solutions by @nickandbro:
7
#1510 - nickGPT / @nickandbro

08/28/2024 at 04:53AM

8
#>3202 - nickGPT / @nickandbro

08/28/2024 at 04:53AM

9
#>3648 - nickGPT / @nickandbro

08/28/2024 at 04:53AM

10
#>3885 - nickGPT / @nickandbro

08/28/2024 at 04:53AM

11
#>3974 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

12
#>4051 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

13
#>4105 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

14
#>4131 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

15
#>4150 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

16
#>4156 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

17
#>4163 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

18
#>4171 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

24
#>4180 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

25
#>4183 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

28
#>4184 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

30
#>4185 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

32
#>4186 - nickGPT / @nickandbro

08/28/2024 at 04:52AM

33
#>4187 - nickGPT / @nickandbro

08/28/2024 at 04:51AM

37
#>4188 - nickGPT / @nickandbro

08/28/2024 at 04:51AM

38
#>4188 - nickGPT / @nickandbro

08/28/2024 at 04:51AM