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

601 active golfers, 2125 entries

Leaderboard (lowest score wins):
12
#361 - Pierre Langlois / @_pierrelanglois

02/14/2015 at 02:25PM

12
#362 - Thiago Prado / @5k1pp3r

02/21/2015 at 02:28PM

12
#363 - octotep / @octotep

02/25/2015 at 12:50AM

12
#364 - Mariano Macchi / @mmacchif

03/02/2015 at 03:06PM

12
#365 - Kiet Nguyen / @kietnguyen86

03/04/2015 at 10:18AM

12
#366 - diziet.sma / @diziet__sma

05/05/2015 at 12:53AM

12
#367 - Alex Bartol / @alexbartol

05/05/2015 at 07:08PM

12
#368 - Wade / @vvandy

05/12/2015 at 09:31PM

12
#369 - Mauro Persano / @fzort

05/23/2015 at 04:33PM

12
#370 - Stefan Knudsen / @knud32

05/29/2015 at 04:44AM

12
#371 - Clark DuVall / @theclarkatron

06/02/2015 at 06:14PM

12
#372 - Lindsay Swift / @_lindsai_

07/07/2015 at 08:57PM

12
#373 - Samir Sadek / @netsamir

07/20/2015 at 08:27PM

12
#374 - McKay Ward / @mckayward

07/28/2015 at 03:05AM

12
#375 - Jason Schulz / @uxcn_

08/01/2015 at 03:52AM

12
#376 - CoCo Loco / @lc2817

08/02/2015 at 10:03AM

12
#377 - Jaypal Singh / @JaypalSingh

08/18/2015 at 03:32AM

12
#378 - Jörg Meyer / @JoergMy

08/24/2015 at 06:22PM

12
#379 - 0e4ef622 / @0e4ef622

10/17/2015 at 09:19PM

12
#380 - Ryan Marcotte / @ryanjmarcotte

11/11/2015 at 01:26PM

12
#381 - rantelo / @rantelo7

12/02/2015 at 09:12PM

12
#382 - Izabel Jelenić / @IzabelJelenic

12/23/2015 at 04:47PM

12
#383 - thlix / @thlix

01/10/2016 at 01:42PM

12
#384 - Etienne Tremel / @etiennetremel

02/06/2016 at 04:57PM

12
#385 - ryo_n / @ryo_n

02/12/2016 at 05:08AM

12
#386 - Cristian Lupașcu / @clupasq

02/25/2016 at 09:47AM

12
#387 - Chenut Ludovic / @7Brwa7

03/31/2016 at 10:23AM

12
#388 - Yanis KHORSI / @YanisKHORSI

04/21/2016 at 01:59PM

12
#389 - iNaKoll / @iNaKoll

05/07/2016 at 08:51PM

12
#390 - some call me mattp / @mattpep

05/09/2016 at 10:27PM