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

544 active golfers, 1836 entries

Leaderboard (lowest score wins):
12
#331 - diziet.sma / @diziet__sma

05/05/2015 at 12:53AM

12
#332 - Alex Bartol / @alexbartol

05/05/2015 at 07:08PM

12
#333 - Wade / @vvandy

05/12/2015 at 09:31PM

12
#334 - Mauro Persano / @fzort

05/23/2015 at 04:33PM

12
#335 - Stefan Knudsen / @knud32

05/29/2015 at 04:44AM

12
#336 - Clark DuVall / @theclarkatron

06/02/2015 at 06:14PM

12
#337 - Lindsay Swift / @_lindsai_

07/07/2015 at 08:57PM

12
#338 - Samir Sadek / @netsamir

07/20/2015 at 08:27PM

12
#339 - McKay Ward / @mckayward

07/28/2015 at 03:05AM

12
#340 - Jason Schulz / @uxcn_

08/01/2015 at 03:52AM

12
#341 - CoCo Loco / @lc2817

08/02/2015 at 10:03AM

12
#342 - Jaypal Singh / @JaypalSingh

08/18/2015 at 03:32AM

12
#343 - Jörg Meyer / @JoergMy

08/24/2015 at 06:22PM

12
#344 - 0e4ef622 / @0e4ef622

10/17/2015 at 09:19PM

12
#345 - Ryan Marcotte / @ryanjmarcotte

11/11/2015 at 01:26PM

12
#346 - rantelo / @rantelo7

12/02/2015 at 09:12PM

12
#347 - Izabel Jelenić / @IzabelJelenic

12/23/2015 at 04:47PM

12
#348 - thlix / @thlix

01/10/2016 at 01:42PM

12
#349 - Etienne Tremel / @etiennetremel

02/06/2016 at 04:57PM

12
#350 - ryo_n / @ryo_n

02/12/2016 at 05:08AM

12
#351 - Cristian Lupașcu / @clupasq

02/25/2016 at 09:47AM

12
#352 - Chenut Ludovic / @7Brwa7

03/31/2016 at 10:23AM

12
#353 - Yanis KHORSI / @YanisKHORSI

04/21/2016 at 01:59PM

12
#354 - iNaKoll / @iNaKoll

05/07/2016 at 08:51PM

12
#355 - some call me mattp / @mattpep

05/09/2016 at 10:27PM

12
#356 - tPenguinLTG / @tpenguinltg

05/15/2016 at 02:49AM

12
#357 - Daniel Allen Deutsch / @cmmn_nighthawk

05/31/2016 at 01:39AM

12
#358 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 08:41PM

12
#359 - jan sos / @jann6373

07/14/2016 at 07:05PM

12
#360 - 王运 / @640138017

07/20/2016 at 04:00PM