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 54345d14d529ef0002227d4c

That hyphen

"vim vi improved"

Start file
(vim -
vi
improved)
(vim
vi
improved)
End file
vim vi improved
(vim -
vi
improved)
(vim
vi
improved)

View Diff

0a1
> vim vi improved

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 577 remaining solutions by signing in and submitting your own entry
#578 Juampy NR / @juampynr - Score: 55 - 10/10/14 @ 20:33
<Esc>xJhxx<Esc>lJ<Esc>lllllllllllllx<Esc>ja '<BS>-<Esc>jjkk3yyjjp<Esc>lllllxx<Esc>:wq<CR>

0 comments


Created by: @udioica

578 active golfers, 1992 entries

Leaderboard (lowest score wins):
12
#361 - CoCo Loco / @lc2817

08/02/2015 at 10:03AM

12
#362 - Jaypal Singh / @JaypalSingh

08/18/2015 at 03:32AM

12
#363 - Jörg Meyer / @JoergMy

08/24/2015 at 06:22PM

12
#364 - 0e4ef622 / @0e4ef622

10/17/2015 at 09:19PM

12
#365 - Ryan Marcotte / @ryanjmarcotte

11/11/2015 at 01:26PM

12
#366 - rantelo / @rantelo7

12/02/2015 at 09:12PM

12
#367 - Izabel Jelenić / @IzabelJelenic

12/23/2015 at 04:47PM

12
#368 - thlix / @thlix

01/10/2016 at 01:42PM

12
#369 - Etienne Tremel / @etiennetremel

02/06/2016 at 04:57PM

12
#370 - ryo_n / @ryo_n

02/12/2016 at 05:08AM

12
#371 - Cristian Lupașcu / @clupasq

02/25/2016 at 09:47AM

12
#372 - Chenut Ludovic / @7Brwa7

03/31/2016 at 10:23AM

12
#373 - Yanis KHORSI / @YanisKHORSI

04/21/2016 at 01:59PM

12
#374 - iNaKoll / @iNaKoll

05/07/2016 at 08:51PM

12
#375 - some call me mattp / @mattpep

05/09/2016 at 10:27PM

12
#376 - tPenguinLTG / @tpenguinltg

05/15/2016 at 02:49AM

12
#377 - Daniel Allen Deutsch / @cmmn_nighthawk

05/31/2016 at 01:39AM

12
#378 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 08:41PM

12
#379 - jan sos / @jann6373

07/14/2016 at 07:05PM

12
#380 - 王运 / @640138017

07/20/2016 at 04:00PM

12
#381 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 04:44AM

12
#382 - Mort Rainey / @arch_midnight

08/22/2016 at 01:14AM

12
#383 - TweetDreams / @TweetMusicians

10/09/2016 at 04:25AM

12
#384 - Etienne Florent / @EtienneFlorent

11/23/2016 at 06:23PM

12
#385 - Michał Dytko / @DytkoM

12/21/2016 at 09:06AM

12
#386 - Hans Yelek / @hans_yelek

01/11/2017 at 04:25AM

12
#387 - Yann / @yannstadnicki

02/21/2017 at 05:03AM

12
#388 - Edouard Piette / @EdPiette

05/19/2017 at 02:02PM

12
#389 - A1m / @A1mGG

06/03/2017 at 05:26AM

12
#390 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 01:21PM