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
#391 - tPenguinLTG / @tpenguinltg

05/15/2016 at 02:49AM

12
#392 - Daniel Allen Deutsch / @cmmn_nighthawk

05/31/2016 at 01:39AM

12
#393 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 08:41PM

12
#394 - jan sos / @jann6373

07/14/2016 at 07:05PM

12
#395 - 王运 / @640138017

07/20/2016 at 04:00PM

12
#396 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 04:44AM

12
#397 - Mort Rainey / @arch_midnight

08/22/2016 at 01:14AM

12
#398 - TweetDreams / @TweetMusicians

10/09/2016 at 04:25AM

12
#399 - Etienne Florent / @EtienneFlorent

11/23/2016 at 06:23PM

12
#400 - Michał Dytko / @DytkoM

12/21/2016 at 09:06AM

12
#401 - Hans Yelek / @hans_yelek

01/11/2017 at 04:25AM

12
#402 - Yann / @yannstad

02/21/2017 at 05:03AM

12
#403 - Edouard Piette / @EdPiette

05/19/2017 at 02:02PM

12
#404 - A1m / @A1mGG

06/03/2017 at 05:26AM

12
#405 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 01:21PM

12
#406 - Charlie OConor / @charlieoconor

10/30/2017 at 05:20PM

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

12/27/2017 at 12:37AM

12
#408 - Mike Chen / @chagel

12/27/2017 at 02:30PM

12
#409 - c0llision / @sh3llcode

01/26/2018 at 08:04PM

12
#410 - ハヤシ / @0__098

07/24/2018 at 01:59PM

12
#411 - Bruce Adams / @bruceadams1054

10/13/2018 at 11:38AM

12
#412 - Phil Devitt / @GeneralHav0k

01/02/2019 at 04:05PM

12
#413 - Timothy Bryan / @tim_bryan

02/22/2019 at 11:32PM

12
#414 - zenwalker / @zenwalker93

03/09/2019 at 01:37PM

12
#415 - Vitaly Sinilin / @unterwulf

05/15/2019 at 04:06PM

13
#416 - James / @Dronak

10/07/2014 at 11:05PM

13
#417 - Eric Kever / @codeoverlode

10/23/2014 at 09:59PM

13
#418 - Matthew Barrington / @mbarrin

10/27/2014 at 12:41AM

13
#419 - Jesse Morton / @Jesse_Motion

11/03/2014 at 11:44AM

13
#420 - PHCerdan / @PHCerdan

11/04/2014 at 03:17AM