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
#361 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 04:44AM

12
#362 - Mort Rainey / @arch_midnight

08/22/2016 at 01:14AM

12
#363 - TweetDreams / @TweetMusicians

10/09/2016 at 04:25AM

12
#364 - Etienne Florent / @EtienneFlorent

11/23/2016 at 06:23PM

12
#365 - Michał Dytko / @DytkoM

12/21/2016 at 09:06AM

12
#366 - Hans Yelek / @hans_yelek

01/11/2017 at 04:25AM

12
#367 - Yann / @yannstadnicki

02/21/2017 at 05:03AM

12
#368 - Edouard Piette / @EdPiette

05/19/2017 at 02:02PM

12
#369 - A1m / @A1mGG

06/03/2017 at 05:26AM

12
#370 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 01:21PM

12
#371 - Charlie OConor / @charlieoconor

10/30/2017 at 05:20PM

12
#372 - Elias Åström / @ryvnfn

12/27/2017 at 12:37AM

12
#373 - Mike Chen / @chagel

12/27/2017 at 02:30PM

12
#374 - c0llision / @sh3llcode

01/26/2018 at 08:04PM

12
#375 - ハヤシ / @0__098

07/24/2018 at 01:59PM

12
#376 - Bruce Adams / @bruceadams1054

10/13/2018 at 11:38AM

13
#377 - James / @Dronak

10/07/2014 at 11:05PM

13
#378 - Eric Kever / @codeoverlode

10/23/2014 at 09:59PM

13
#379 - Matthew Barrington / @mbarrin

10/27/2014 at 12:41AM

13
#380 - Jesse Morton / @Jesse_Motion

11/03/2014 at 11:44AM

13
#381 - PHCerdan / @PHCerdan

11/04/2014 at 03:17AM

13
#382 - Ilya Kolo / @Gray_Wind

11/04/2014 at 10:42AM

13
#383 - Xavier Goás A. / @xa4us

11/07/2014 at 09:09PM

13
#384 - AA / @stonewareslord

11/26/2014 at 08:10PM

13
#385 - kobby / @_kafdot_

12/09/2014 at 11:45AM

13
#386 - Steve Alison / @Steve_Alison

12/12/2014 at 11:37PM

13
#387 - David Barker / @dashleybarker

12/13/2014 at 04:23PM

13
#388 - Andrew Leung / @aleungpivotal

12/18/2014 at 05:35PM

13
#389 - Tact Overflow / @muppling

12/29/2014 at 04:13PM

13
#390 - David Wright / @David27Wright

01/08/2015 at 05:09PM