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):
18
#121 - Kai Wood / @kwd_io

07/24/2014 at 08:55AM

18
#122 - I / @ForgetIt17

07/29/2014 at 07:04PM

18
#123 - Marcin Sza / @coot_

08/01/2014 at 08:59AM

18
#124 - Phil Runninger / @PhilRunninger

08/14/2014 at 12:56PM

18
#125 - Jonas Osborn / @JonasOsborn

08/19/2014 at 10:29AM

18
#126 - Robbie Clarken / @robbieclarken

09/07/2014 at 11:02PM

18
#127 - Maxim / @HateLinux

10/09/2014 at 07:22AM

18
#128 - mnx / @mnxx

11/14/2014 at 11:25AM

18
#129 - Matt Robbins / @mcrmfc

11/19/2014 at 09:47AM

18
#130 - Glauco Pires / @grpires

11/25/2014 at 01:27PM

18
#131 - Erik Buček / @_EnterNameHere_

11/27/2014 at 08:34AM

18
#132 - Soren Bjornstad / @scorchgeek

12/04/2014 at 10:20PM

18
#133 - Test User / @TestUserIgnore

12/04/2014 at 11:39PM

18
#134 - Tact Overflow / @muppling

01/07/2015 at 01:45PM

18
#135 - Charles H. Leggett / @cleggett

01/08/2015 at 04:36PM

18
#136 - Shahaf A / @Av3r4ge

03/10/2015 at 12:30AM

18
#137 - Maxime / @Maxime_VII

06/23/2015 at 03:24PM

18
#138 - Lifepillar / @lifepillar

07/26/2015 at 01:57PM

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

11/09/2015 at 04:29PM

18
#140 - Robert Perce / @robertperce

11/13/2015 at 10:53PM

18
#141 - Saki Gw / @Sakigw

12/11/2016 at 04:52PM

18
#142 - Marcel Akkerman / @MarcelAkkerman

12/22/2016 at 11:09AM

18
#143 - Bill Ruddock / @biinari

05/03/2017 at 10:15PM

18
#144 - PJ Frazer / @pj_frazer

11/25/2018 at 01:57AM

18
#145 - ~ben / @nebsirrah

02/27/2019 at 07:47PM

18
#146 - Ariel Miculas / @ArielMiculas

09/24/2019 at 03:12PM

19
#147 - Carlos López / @morrizon

07/03/2014 at 01:37PM

19
#148 - Adrien Canuel / @AdrienCanuel

11/20/2014 at 01:59PM

19
#149 - Matt / @mcr05

05/24/2015 at 08:35AM

19
#150 - Chenut Ludovic / @7Brwa7

04/05/2016 at 11:56AM