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

557 active golfers, 1658 entries

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

09/25/2022 at 10:16PM

11
#>146 - Santosh Latpate / @sblatpate

09/25/2022 at 10:15PM

12
#>228 - Santosh Latpate / @sblatpate

09/25/2022 at 10:14PM

13
#>366 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

14
#>443 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

17
#>501 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

18
#>512 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

21
#>522 - Santosh Latpate / @sblatpate

09/25/2022 at 10:11PM

28
#>528 - Santosh Latpate / @sblatpate

09/25/2022 at 10:08PM

30
#>530 - Santosh Latpate / @sblatpate

09/25/2022 at 09:51PM

33
#>535 - Santosh Latpate / @sblatpate

09/25/2022 at 09:48PM

38
#>539 - Santosh Latpate / @sblatpate

09/25/2022 at 09:44PM

40
#>539 - Santosh Latpate / @sblatpate

09/25/2022 at 09:43PM

42
#>542 - Santosh Latpate / @sblatpate

09/25/2022 at 09:10PM

42
#>542 - Santosh Latpate / @sblatpate

09/25/2022 at 09:40PM

44
#>543 - Santosh Latpate / @sblatpate

09/25/2022 at 09:17PM

44
#>543 - Santosh Latpate / @sblatpate

09/25/2022 at 09:34PM

53
#>550 - Santosh Latpate / @sblatpate

09/25/2022 at 09:08PM

65
#>552 - Santosh Latpate / @sblatpate

09/25/2022 at 09:04PM

97
#>554 - Santosh Latpate / @sblatpate

09/25/2022 at 08:59PM

144
#>556 - Santosh Latpate / @sblatpate

09/25/2022 at 08:54PM

155
#>557 - Santosh Latpate / @sblatpate

09/25/2022 at 08:51PM