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 9v00619554dd000000000216

Put a newline after every 10 lines in vim

Goal is to put a newline after every 10 lines in vim.

Start file
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
End file
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line
This a sample line

View Diff

10a11
> 
20a22
> 
30a33
> 
40a44
> 
50a55
> 
60a66
> 
70a77
> 
80a88
> 
90a99
> 
100a110
> 

Solutions by @sblatpate:

Unlock 22 remaining solutions by signing in and submitting your own entry
Created by: @r4d1um

518 active golfers, 1554 entries

Solutions by @sblatpate:
10
#26 - Santosh Latpate / @sblatpate

09/25/2022 at 10:16PM

11
#>141 - Santosh Latpate / @sblatpate

09/25/2022 at 10:15PM

12
#>217 - Santosh Latpate / @sblatpate

09/25/2022 at 10:14PM

13
#>351 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

14
#>410 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

17
#>466 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

18
#>477 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

21
#>486 - Santosh Latpate / @sblatpate

09/25/2022 at 10:11PM

28
#>490 - Santosh Latpate / @sblatpate

09/25/2022 at 10:08PM

30
#>492 - Santosh Latpate / @sblatpate

09/25/2022 at 09:51PM

33
#>497 - Santosh Latpate / @sblatpate

09/25/2022 at 09:48PM

38
#>501 - Santosh Latpate / @sblatpate

09/25/2022 at 09:44PM

40
#>502 - Santosh Latpate / @sblatpate

09/25/2022 at 09:43PM

42
#>505 - Santosh Latpate / @sblatpate

09/25/2022 at 09:10PM

42
#>505 - Santosh Latpate / @sblatpate

09/25/2022 at 09:40PM

44
#>506 - Santosh Latpate / @sblatpate

09/25/2022 at 09:17PM

44
#>506 - Santosh Latpate / @sblatpate

09/25/2022 at 09:34PM

53
#>512 - Santosh Latpate / @sblatpate

09/25/2022 at 09:08PM

65
#>514 - Santosh Latpate / @sblatpate

09/25/2022 at 09:04PM

97
#>515 - Santosh Latpate / @sblatpate

09/25/2022 at 08:59PM

144
#>517 - Santosh Latpate / @sblatpate

09/25/2022 at 08:54PM

155
#>518 - Santosh Latpate / @sblatpate

09/25/2022 at 08:51PM