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

613 active golfers, 2178 entries

Leaderboard (lowest score wins):
12
#391 - Etienne Tremel / @etiennetremel

02/06/2016 at 04:57PM

12
#392 - ryo_n / @ryo_n

02/12/2016 at 05:08AM

12
#393 - Cristian Lupașcu / @clupasq

02/25/2016 at 09:47AM

12
#394 - Chenut Ludovic / @7Brwa7

03/31/2016 at 10:23AM

12
#395 - Yanis KHORSI / @YanisKHORSI

04/21/2016 at 01:59PM

12
#396 - iNaKoll / @iNaKoll

05/07/2016 at 08:51PM

12
#397 - some call me mattp / @mattpep

05/09/2016 at 10:27PM

12
#398 - tPenguinLTG / @tpenguinltg

05/15/2016 at 02:49AM

12
#399 - Daniel Allen Deutsch / @cmmn_nighthawk

05/31/2016 at 01:39AM

12
#400 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 08:41PM

12
#401 - jan sos / @jann6373

07/14/2016 at 07:05PM

12
#402 - 王运 / @640138017

07/20/2016 at 04:00PM

12
#403 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 04:44AM

12
#404 - Mort Rainey / @arch_midnight

08/22/2016 at 01:14AM

12
#405 - TweetDreams / @TweetMusicians

10/09/2016 at 04:25AM

12
#406 - Etienne Florent / @EtienneFlorent

11/23/2016 at 06:23PM

12
#407 - Michał Dytko / @DytkoM

12/21/2016 at 09:06AM

12
#408 - Hans Yelek / @hans_yelek

01/11/2017 at 04:25AM

12
#409 - Yann / @yannstad

02/21/2017 at 05:03AM

12
#410 - Edouard Piette / @EdPiette

05/19/2017 at 02:02PM

12
#411 - A1m / @A1mGG

06/03/2017 at 05:26AM

12
#412 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 01:21PM

12
#413 - Charlie OConor / @charlieoconor

10/30/2017 at 05:20PM

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

12/27/2017 at 12:37AM

12
#415 - Mike Chen / @chagel

12/27/2017 at 02:30PM

12
#416 - c0llision / @sh3llcode

01/26/2018 at 08:04PM

12
#417 - ハヤシ / @0__098

07/24/2018 at 01:59PM

12
#418 - Bruce Adams / @bruceadams1054

10/13/2018 at 11:38AM

12
#419 - Phil Devitt / @GeneralHav0k

01/02/2019 at 04:05PM

12
#420 - Timothy Bryan / @tim_bryan

02/22/2019 at 11:32PM