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

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

422 active golfers, 845 entries

Solutions by @cleggett:
7
#132 - Charles H. Leggett / @cleggett

01/12/2015 at 04:32PM

8
#>324 - Charles H. Leggett / @cleggett

01/12/2015 at 04:30PM

9
#>408 - Charles H. Leggett / @cleggett

01/12/2015 at 04:29PM