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

544 active golfers, 1636 entries

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

09/25/2022 at 10:16PM

11
#>145 - Santosh Latpate / @sblatpate

09/25/2022 at 10:15PM

12
#>226 - Santosh Latpate / @sblatpate

09/25/2022 at 10:14PM

13
#>364 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

14
#>432 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

17
#>489 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

18
#>500 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

21
#>510 - Santosh Latpate / @sblatpate

09/25/2022 at 10:11PM

28
#>515 - Santosh Latpate / @sblatpate

09/25/2022 at 10:08PM

30
#>517 - Santosh Latpate / @sblatpate

09/25/2022 at 09:51PM

33
#>522 - Santosh Latpate / @sblatpate

09/25/2022 at 09:48PM

38
#>526 - Santosh Latpate / @sblatpate

09/25/2022 at 09:44PM

40
#>526 - Santosh Latpate / @sblatpate

09/25/2022 at 09:43PM

42
#>529 - Santosh Latpate / @sblatpate

09/25/2022 at 09:10PM

42
#>529 - Santosh Latpate / @sblatpate

09/25/2022 at 09:40PM

44
#>530 - Santosh Latpate / @sblatpate

09/25/2022 at 09:17PM

44
#>530 - Santosh Latpate / @sblatpate

09/25/2022 at 09:34PM

53
#>537 - Santosh Latpate / @sblatpate

09/25/2022 at 09:08PM

65
#>539 - Santosh Latpate / @sblatpate

09/25/2022 at 09:04PM

97
#>541 - Santosh Latpate / @sblatpate

09/25/2022 at 08:59PM

144
#>543 - Santosh Latpate / @sblatpate

09/25/2022 at 08:54PM

155
#>544 - Santosh Latpate / @sblatpate

09/25/2022 at 08:51PM