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 270 remaining solutions by signing in and submitting your own entry
#271 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

271 active golfers, 1016 entries

Leaderboard (lowest score wins):
18
#121 - Marcin Sza / @coot_

08/01/2014 at 08:59AM

18
#122 - Phil Runninger / @PhilRunninger

08/14/2014 at 12:56PM

18
#123 - Jonas Osborn / @JonasOsborn

08/19/2014 at 10:29AM

18
#124 - Robbie Clarken / @robbieclarken

09/07/2014 at 11:02PM

18
#125 - Maxim / @HateLinux

10/09/2014 at 07:22AM

18
#126 - mnx / @mnxx

11/14/2014 at 11:25AM

18
#127 - Matt Robbins / @mcrmfc

11/19/2014 at 09:47AM

18
#128 - Glauco Pires / @grpires

11/25/2014 at 01:27PM

18
#129 - Erik Buček / @_EnterNameHere_

11/27/2014 at 08:34AM

18
#130 - Soren Bjornstad / @scorchgeek

12/04/2014 at 10:20PM

18
#131 - Test User / @TestUserIgnore

12/04/2014 at 11:39PM

18
#132 - Tact Overflow / @muppling

01/07/2015 at 01:45PM

18
#133 - Charles H. Leggett / @cleggett

01/08/2015 at 04:36PM

18
#134 - Shahaf A / @Av3r4ge

03/10/2015 at 12:30AM

18
#135 - Maxime / @Maxime_VII

06/23/2015 at 03:24PM

18
#136 - Lifepillar / @lifepillar

07/26/2015 at 01:57PM

18
#137 - Árpád Krejczinger / @krarpi

11/09/2015 at 04:29PM

18
#138 - Robert Perce / @robertperce

11/13/2015 at 10:53PM

18
#139 - Saki Gw / @Sakigw

12/11/2016 at 04:52PM

18
#140 - Marcel Akkerman / @MarcelAkkerman

12/22/2016 at 11:09AM

18
#141 - Bill Ruddock / @biinari

05/03/2017 at 10:15PM

18
#142 - PJ Frazer / @pj_frazer

11/25/2018 at 01:57AM

18
#143 - ~ben / @nebsirrah

02/27/2019 at 07:47PM

19
#144 - Carlos López / @morrizon

07/03/2014 at 01:37PM

19
#145 - Adrien Canuel / @AdrienCanuel

11/20/2014 at 01:59PM

19
#146 - Matt / @mcr05

05/24/2015 at 08:35AM

19
#147 - Chenut Ludovic / @7Brwa7

04/05/2016 at 11:56AM

19
#148 - Shadowclysm / @shadowclysm

08/17/2016 at 05:13AM

19
#149 - Erik Vesteraas / @evestera

04/22/2017 at 08:49PM

19
#150 - Dax / @zacoxi

11/16/2018 at 06:10AM