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 @hugotai0:

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

453 active golfers, 916 entries

Solutions by @hugotai0:
7
#229 - hugotai0 / @hugotai0

10/26/2026 at 09:39AM

8
#>426 - hugotai0 / @hugotai0

10/26/2026 at 09:37AM

9
#>442 - hugotai0 / @hugotai0

10/26/2026 at 09:36AM