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

640 active golfers, 2296 entries

Leaderboard (lowest score wins):
10
#241 - Chester Yap / @Chest_ErYap

07/14/2019 at 07:50PM

10
#242 - vana / @vana15129217

07/22/2019 at 09:33AM

10
#243 - sooqua / @sooqua

08/09/2019 at 04:00AM

10
#244 - Wistan Chou / @wisty97

08/15/2019 at 04:58PM

10
#245 - Lory / @Lory46845742

11/08/2019 at 02:50PM

10
#246 - 임덕윤 / @SnLHUF5ZYJXqI1m

01/04/2020 at 12:41AM

10
#247 - Jason Neylon / @jasonneylon

02/15/2020 at 08:15AM

11
#248 - Caek / @Caek_

10/08/2014 at 02:29AM

11
#249 - Eduardo / @earada

10/09/2014 at 07:09AM

11
#250 - mnx / @mnxx

10/09/2014 at 07:38AM

11
#251 - Pierre Bertet / @bpierre

10/10/2014 at 07:29PM

11
#252 - Jose Gutierrez / @Jogusa

10/12/2014 at 01:14PM

11
#253 - E Both / @enboth

10/13/2014 at 09:29AM

11
#254 - Will / @VVi11_I_AM

10/14/2014 at 02:07AM

11
#255 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:24AM

11
#256 - George Crabtree / @supercrabtree

10/17/2014 at 10:21PM

11
#257 - block_given? / @block_given

10/18/2014 at 02:36AM

11
#258 - Avia Aharon / @aviaron

10/20/2014 at 08:02PM

11
#259 - Ryan Glassett / @rollsavager

10/22/2014 at 04:23PM

11
#260 - Zapata / @Incredible_JFP

10/25/2014 at 06:36PM

11
#261 - kungfuchad / @kungfuchad

10/27/2014 at 11:47AM

11
#262 - buz / @buzbone

10/29/2014 at 11:10AM

11
#263 - Karol Katerżawa / @CharlieQbx

11/06/2014 at 10:49AM

11
#264 - John Smith / @temp_soraismus

11/18/2014 at 03:21AM

11
#265 - Roberto Alegro / @robertoaall

11/30/2014 at 04:13AM

11
#266 - Abdo Achkar / @Achkar

12/06/2014 at 12:32PM

11
#267 - Josu Oyanguren / @josuoyanguren

12/18/2014 at 04:27PM

11
#268 - Joshua Greeenberg / @JoshuaGreeenber

12/19/2014 at 12:23PM

11
#269 - Geoff Huston / @AGeoffHuston

12/23/2014 at 04:33AM

11
#270 - r. / @rmarvie

12/26/2014 at 12:50PM