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):
15
#61 - Plop plop / @plopplopplop6

08/08/2017 at 07:07PM

15
#62 - Turkey Man / @lvturkeyman

11/13/2017 at 01:19PM

15
#63 - Benoit Mortgat / @Benoit_Mortgat

11/15/2017 at 02:12PM

15
#64 - ParasamGateZero / @ParasamGateZero

02/18/2018 at 07:41PM

15
#65 - Dominic Z / @thammaaa

02/18/2018 at 09:46PM

15
#66 - Daniƫl De Koker / @daniel_koker

07/04/2018 at 07:03AM

15
#67 - Coruja Queridinha / @miriamretka

08/31/2018 at 01:11PM

15
#68 - alekfed / @alek_fed

04/15/2019 at 06:39PM

16
#69 - Kerson Hsiao / @KersonHsiao

07/03/2014 at 11:05AM

16
#70 - Bart / @oneofmanybarts

07/03/2014 at 12:53PM

16
#71 - Matthias Wolf / @matz__e

07/03/2014 at 09:40PM

16
#72 - Nico Lehmann / @nilehmann

07/05/2014 at 05:28PM

16
#73 - Lasse Dalegaard / @ldalegaard

07/06/2014 at 08:39PM

16
#74 - buz / @buzbone

07/07/2014 at 08:57AM

16
#75 - Andy Novocin / @AndyNovocin

07/08/2014 at 01:18PM

16
#76 - Florian Duraffourg / @fduraffourg

07/12/2014 at 08:30AM

16
#77 - Oleg Tsymbalyuk / @oleg_tc

07/16/2014 at 04:52AM

16
#78 - MonkeyBrains ISP / @monkeybrainsnet

07/27/2014 at 05:06AM

16
#79 - Michael Comerford / @MComerford1

09/20/2014 at 01:35AM

16
#80 - Andreas Simon / @ndrssmn

10/22/2014 at 07:28PM

16
#81 - mark0829 / @mark0829

01/31/2015 at 06:14AM

16
#82 - xieyh11 / @xieyh11

02/21/2015 at 04:31AM

16
#83 - vendekabyte / @vendekabyte

10/11/2015 at 07:18PM

16
#84 - BlackCap / @BlackCapCoder

11/30/2016 at 12:52PM

16
#85 - 20speedvegan / @ashkevinm

04/14/2017 at 03:59PM

16
#86 - LC / @leeren

03/03/2018 at 05:23AM

16
#87 - qed / @qed13308565

07/25/2018 at 05:13PM

16
#88 - name / @name65894813

11/23/2018 at 09:03PM

16
#89 - Mihai / @mihaicristiant

12/14/2018 at 07:30AM

16
#90 - Chester Yap / @Chest_ErYap

07/19/2019 at 12:50PM