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):
9
#121 - mebubo / @mebubo

05/01/2016 at 10:04AM

9
#122 - John Goes / @johnwgoes

05/07/2016 at 04:00PM

9
#123 - Ben Hill / @KaizenSoze70

05/09/2016 at 12:36AM

9
#124 - John Doe Sr. / @johndoe67890543

05/31/2016 at 06:36PM

9
#125 - Foo Bar / @foobar01123

06/02/2016 at 12:07PM

9
#126 - Elliott Beach / @718282Beach

06/07/2016 at 03:48AM

9
#127 - Yudi Matsuzake / @yudimatsuzake

06/07/2016 at 03:45PM

9
#128 - Pablo R. Dinella / @pablordinella

06/11/2016 at 02:40PM

9
#129 - Ameen P / @Ameen_P1

06/18/2016 at 09:39AM

9
#130 - TaoChen / @632143592Tao

06/20/2016 at 06:33AM

9
#131 - George Angelopoulos / @g_usermod

08/06/2016 at 07:23PM

9
#132 - jdupont655 / @jdupont655

09/02/2016 at 11:04AM

9
#133 - Stephen Aument / @saument

09/03/2016 at 04:55AM

9
#134 - Will / @obiwan__k3n00bi

09/03/2016 at 08:31AM

9
#135 - hor1ace / @hor3ace

09/08/2016 at 03:20PM

9
#136 - 알카포 / @alkpo12

09/10/2016 at 05:59AM

9
#137 - loki2441 / @loki2441

09/10/2016 at 09:32PM

9
#138 - Constantine / @ConstantineHatz

09/26/2016 at 06:55PM

9
#139 - Nico / @_Nico_Caro

09/30/2016 at 03:24PM

9
#140 - Lukas Kruemel / @KruemelKobold

10/06/2016 at 09:37AM

9
#141 - trx / @trxdbg

10/12/2016 at 01:38PM

9
#142 - Karl Lundquist / @karllundquist

10/21/2016 at 12:11AM

9
#143 - retro / @tryphopp

11/10/2016 at 08:56AM

9
#144 - BlackCap / @BlackCapCoder

11/23/2016 at 06:00PM

9
#145 - Wessel Sinnema / @wsinnema

11/27/2016 at 05:22PM

9
#146 - Alan Turing / @alantrng

11/28/2016 at 11:21PM

9
#147 - Marcel Akkerman / @MarcelAkkerman

12/22/2016 at 07:47AM

9
#148 - Pierre Maoui / @poupougnac

12/24/2016 at 08:57AM

9
#149 - Ilya Shakirov / @aelaau

03/20/2017 at 03:06PM

9
#150 - Andreas Anderbach / @anderbacha

03/21/2017 at 12:53PM