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 53b473a3ac0ceb00022303bd

Do you demand a shrubbery?

Use :redir and crush the emacsgolfers.

Start file
:Ni!
End file
:Ni!


Do you demand a shrubbery?

View Diff

1a2,4
> 
> 
> Do you demand a shrubbery?

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 276 remaining solutions by signing in and submitting your own entry
#277 PLS / @jaegd - Score: 36 - 08/06/14 @ 06:31
Y:reg<CR><CR>:redir @"<CR>:Ni!<CR>:redir END<CR>pZZ

0 comments


Created by: @udioica

277 active golfers, 1035 entries

Leaderboard (lowest score wins):
32
#271 - Melvin Cheung / @MelvinCheung

11/11/2019 at 10:24AM

32
#272 - Lory / @Lory46845742

11/15/2019 at 12:25PM

33
#273 - James Hart / @hjhart

08/09/2014 at 07:16PM

33
#274 - José / @AngelGaldamez

10/24/2019 at 04:59AM

34
#275 - Siddhartha R Thota / @tweetingsid

08/11/2014 at 10:22AM

35
#276 - Dmitry Teslenko / @krab_mozga

07/18/2014 at 11:45AM

36
#277 - PLS / @jaegd

08/06/2014 at 06:31AM