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

545 active golfers, 1841 entries

Leaderboard (lowest score wins):
9
#31 - Vincent Dumoulin / @dumoulinv

11/26/2014 at 02:31AM

9
#32 - Ivan Brennan / @ivanbrennan

11/27/2014 at 03:53AM

9
#33 - Michael Aston / @pennyOsl

11/29/2014 at 07:09PM

9
#34 - limenghong / @LeoLpfish

12/04/2014 at 10:46AM

9
#35 - benekeusz / @benekeusz

12/10/2014 at 03:32AM

9
#36 - Daniel Wang / @danwang

12/10/2014 at 10:39PM

9
#37 - Eric Lawless / @eplawless

12/11/2014 at 08:32AM

9
#38 - Jakub Horák / @kubahorak

12/22/2014 at 02:52PM

9
#39 - zmo / @guyzmo

12/28/2014 at 07:48PM

9
#40 - Michael LeCompte / @michaelslec

12/29/2014 at 09:53AM

9
#41 - juicelink / @juicelink

12/30/2014 at 08:09AM

9
#42 - Maximiliano Padulo / @mpadulo

01/02/2015 at 09:50PM

9
#43 - kimber gonzalez / @kimberlycreates

01/07/2015 at 03:46PM

9
#44 - ZC-死理性派 / @zecyzhang

01/12/2015 at 11:48AM

9
#45 - Nicolai Skogheim / @NicolaiSkogheim

01/20/2015 at 02:06AM

9
#46 - Плеханов Дмитрий / @onemanstartup

01/21/2015 at 04:29PM

9
#47 - mark0829 / @mark0829

01/24/2015 at 02:27AM

9
#48 - Nolic / @cNolic

02/03/2015 at 12:10PM

9
#49 - Rathrio / @Rathrio

02/06/2015 at 11:51AM

9
#50 - Ethan Chan / @metakirby5

02/12/2015 at 08:34AM

9
#51 - Naseem Al-Naji / @NaseemAlnaji

02/13/2015 at 11:49PM

9
#52 - Michael Giuffrida / @mgiuffrida

02/21/2015 at 10:40AM

9
#53 - Alan Berndt / @bentglasstube

02/23/2015 at 06:19PM

9
#54 - Felix / @DoubleFelix_

02/24/2015 at 10:47AM

9
#55 - Raja Sharan Mamidala / @rajasharan

03/02/2015 at 03:19AM

9
#56 - Matthew Pryor / @HodgekaGames

03/06/2015 at 02:40PM

9
#57 - Ala' Ibrahim / @alaa_ibrahim

03/10/2015 at 09:35AM

9
#58 - DrHobo / @_DrHobo_

03/10/2015 at 06:17PM

9
#59 - J-F R. / @RheaultJF

03/18/2015 at 03:40AM

9
#60 - Bradley Garagan / @bradgaragan

03/18/2015 at 12:55PM