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

688 active golfers, 2520 entries

Leaderboard (lowest score wins):
12
#451 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 08:41PM

12
#452 - jan sos / @jann6373

07/14/2016 at 07:05PM

12
#453 - 王运 / @640138017

07/20/2016 at 04:00PM

12
#454 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 04:44AM

12
#455 - Mort Rainey / @arch_midnight

08/22/2016 at 01:14AM

12
#456 - TweetDreams / @TweetMusicians

10/09/2016 at 04:25AM

12
#457 - Etienne Florent / @EtienneFlorent

11/23/2016 at 06:23PM

12
#458 - Michał Dytko / @DytkoM

12/21/2016 at 09:06AM

12
#459 - Hans Yelek / @hans_yelek

01/11/2017 at 04:25AM

12
#460 - Yann / @yannstad

02/21/2017 at 05:03AM

12
#461 - Edouard Piette / @EdPiette

05/19/2017 at 02:02PM

12
#462 - A1m / @A1mGG

06/03/2017 at 05:26AM

12
#463 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 01:21PM

12
#464 - Charlie OConor / @charlieoconor

10/30/2017 at 05:20PM

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

12/27/2017 at 12:37AM

12
#466 - Mike Chen / @chagel

12/27/2017 at 02:30PM

12
#467 - c0llision / @sh3llcode

01/26/2018 at 08:04PM

12
#468 - ハヤシ / @0__098

07/24/2018 at 01:59PM

12
#469 - Bruce Adams / @bruceadams1054

10/13/2018 at 11:38AM

12
#470 - Phil Devitt / @GeneralHav0k

01/02/2019 at 04:05PM

12
#471 - Timothy Bryan / @tim_bryan

02/22/2019 at 11:32PM

12
#472 - zenwalker / @zenwalker93

03/09/2019 at 01:37PM

12
#473 - Vitaly Sinilin / @unterwulf

05/15/2019 at 04:06PM

12
#474 - albalitz / @_albalitz

06/07/2019 at 01:04PM

12
#475 - vicver09 / @vicver091

12/18/2019 at 07:21PM

12
#476 - JimmyGymglish / @JGymglish

01/15/2020 at 11:14AM

12
#477 - Nick Lee / @TooManyNickLees

04/05/2020 at 09:56PM

12
#478 - Gunter Kluge / @KlugeGunter

01/08/2021 at 11:49PM

12
#479 - steve / @steve35773420

12/01/2022 at 05:32PM

13
#480 - James / @Dronak

10/07/2014 at 11:05PM