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

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

437 active golfers, 881 entries

Solutions by @russellzhaomao:
7
#216 - russellzhaomao / @russellzhaomao

06/12/2022 at 02:23AM

8
#>406 - russellzhaomao / @russellzhaomao

06/12/2022 at 02:23AM

9
#>427 - russellzhaomao / @russellzhaomao

06/12/2022 at 02:21AM

9
#>427 - russellzhaomao / @russellzhaomao

06/12/2022 at 12:56PM

16
#>437 - russellzhaomao / @russellzhaomao

06/12/2022 at 12:55PM