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):
9
#181 - fucus / @fishlovebanana

08/10/2018 at 02:50AM

9
#182 - _Tpouhuk / @Tpouhuk2

08/11/2018 at 05:44PM

9
#183 - Zach Johnson / @zachjohnsondev

08/16/2018 at 02:04PM

9
#184 - Hugo / @szeyattai

08/20/2018 at 02:43AM

9
#185 - Jeff / @sir_wiggles3

09/09/2018 at 05:53AM

9
#186 - Turkey Man / @lvturkeyman

09/27/2018 at 08:01AM

9
#187 - Rasmus Bergström / @JRasmusBm

09/29/2018 at 07:38AM

9
#188 - Benjamin Kiesl / @BenjaminKiesl

10/20/2018 at 11:51AM

9
#189 - vg / @vg53210350

10/28/2018 at 07:18PM

9
#190 - Dax / @zacoxi

11/09/2018 at 04:56AM

9
#191 - name / @name65894813

11/19/2018 at 03:44PM

9
#192 - PJ Frazer / @pj_frazer

11/23/2018 at 09:31PM

9
#193 - churaki / @churaki

01/30/2019 at 08:22AM

9
#194 - Patrick Lavin / @LavinComputes

01/30/2019 at 09:19PM

9
#195 - Tinko Minko / @tandikula

02/01/2019 at 06:38PM

9
#196 - Henrique Malheiro / @rike09

02/06/2019 at 12:42AM

9
#197 - Titouan Teyssier / @TitouanT_

03/02/2019 at 01:06PM

9
#198 - ثامر / @julienborghetti

03/09/2019 at 05:24PM

9
#199 - Tom Vyčítal / @Tamaasz

04/06/2019 at 10:06PM

9
#200 - alekfed / @alek_fed

04/15/2019 at 11:34AM

9
#201 - james_bunch / @james_bunch

04/16/2019 at 11:59PM

9
#202 - tnagai / @tnagai

04/24/2019 at 05:07AM

9
#203 - Gitsnik / @dracyrys

04/26/2019 at 12:35PM

9
#204 - ow / @ow34480012

04/29/2019 at 09:16PM

9
#205 - tenfy / @tenfy4

04/30/2019 at 02:48AM

9
#206 - Grant / @grant_7788

05/02/2019 at 08:49AM

9
#207 - Sherab Giovannini / @shaddycls

05/04/2019 at 09:15AM

9
#208 - eric huang / @EricGodhand4826

05/05/2019 at 09:58AM

9
#209 - BunFluffman / @BFluffman

06/08/2019 at 12:05PM

9
#210 - majo senf / @majo_senf

06/17/2019 at 12:45PM