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

401 active golfers, 1163 entries

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

09/25/2022 at 10:16PM

11
#>128 - Santosh Latpate / @sblatpate

09/25/2022 at 10:15PM

12
#>157 - Santosh Latpate / @sblatpate

09/25/2022 at 10:14PM

13
#>283 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

14
#>322 - Santosh Latpate / @sblatpate

09/25/2022 at 10:13PM

17
#>363 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

18
#>372 - Santosh Latpate / @sblatpate

09/25/2022 at 10:12PM

21
#>378 - Santosh Latpate / @sblatpate

09/25/2022 at 10:11PM

28
#>380 - Santosh Latpate / @sblatpate

09/25/2022 at 10:08PM

30
#>381 - Santosh Latpate / @sblatpate

09/25/2022 at 09:51PM

33
#>384 - Santosh Latpate / @sblatpate

09/25/2022 at 09:48PM

38
#>387 - Santosh Latpate / @sblatpate

09/25/2022 at 09:44PM

40
#>388 - Santosh Latpate / @sblatpate

09/25/2022 at 09:43PM

42
#>391 - Santosh Latpate / @sblatpate

09/25/2022 at 09:10PM

42
#>391 - Santosh Latpate / @sblatpate

09/25/2022 at 09:40PM

44
#>392 - Santosh Latpate / @sblatpate

09/25/2022 at 09:17PM

44
#>392 - Santosh Latpate / @sblatpate

09/25/2022 at 09:34PM

53
#>396 - Santosh Latpate / @sblatpate

09/25/2022 at 09:08PM

65
#>397 - Santosh Latpate / @sblatpate

09/25/2022 at 09:04PM

97
#>398 - Santosh Latpate / @sblatpate

09/25/2022 at 08:59PM

144
#>400 - Santosh Latpate / @sblatpate

09/25/2022 at 08:54PM

155
#>401 - Santosh Latpate / @sblatpate

09/25/2022 at 08:51PM