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 539c50b188b4e20002053e38

Where should I put the Newline?

Help me put the newline.

Start file
You see this --->newline<--- that is the newline.
End file
You see this --->
<--- that is the newline.

View Diff

1c1,2
< You see this --->newline<--- that is the newline.
---
> You see this --->
> <--- that is the newline.

Solutions by @ViktorStyrud:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @aditcr8

430 active golfers, 859 entries

Solutions by @ViktorStyrud:
7
#208 - Viktor Styrud / @ViktorStyrud

11/26/2019 at 09:17AM

8
#>395 - Viktor Styrud / @ViktorStyrud

11/26/2019 at 09:16AM