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):
14
#451 - Jesse Atkinson / @jsatk

08/29/2015 at 03:48AM

14
#452 - AD / @Lievr0

11/21/2015 at 02:32PM

14
#453 - h l / @lonnez90

12/03/2015 at 01:36AM

14
#454 - twenty2twoss / @twenty2twoss

01/20/2016 at 06:17PM

14
#455 - Pratap Koritala / @pratap_koritala

02/21/2016 at 05:52AM

14
#456 - John Brown / @ThisIsJohnBrown

03/06/2016 at 04:24AM

14
#457 - M S / @b1790037

03/15/2016 at 06:03PM

14
#458 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 10:30PM

14
#459 - Ryan Dwyer / @ryan_dwyer

06/05/2016 at 09:46PM

14
#460 - Micha / @michman89

08/12/2016 at 10:02AM

14
#461 - Nome / @sensorario

12/13/2016 at 06:21AM

14
#462 - Patrick Sanan / @patricksanan

02/20/2017 at 01:36PM

14
#463 - Brandon Height / @Lask0x

08/08/2017 at 03:52AM

14
#464 - Geoff / @RealGeoffErwin

10/09/2017 at 06:51PM

14
#465 - Luke Parsons / @lukeparsons

12/28/2017 at 01:42PM

14
#466 - Dennis Burke / @ikirudennis

02/25/2018 at 02:53PM

14
#467 - Tom ten Thij / @eco_coder

08/04/2018 at 09:48AM

15
#468 - Oliver Christ / @0liverChrist

10/09/2014 at 09:34PM

15
#469 - Patrick Mitchell / @jpmitche11

10/10/2014 at 12:46AM

15
#470 - Marcin Sza / @coot_

10/10/2014 at 08:13PM

15
#471 - Michael Daffin / @James14790

10/14/2014 at 10:15AM

15
#472 - David Asabina / @vidbina

10/16/2014 at 06:54PM

15
#473 - Aaron Lebahn / @cplusplus

10/18/2014 at 12:00AM

15
#474 - ЕвгенийВ / @imater

10/27/2014 at 05:00AM

15
#475 - JamesT / @jamestrinklein

11/07/2014 at 07:13PM

15
#476 - Jason Wolf / @zephyr_wolf

11/14/2014 at 08:00PM

15
#477 - jake romer / @notjakeromer

11/20/2014 at 09:42AM

15
#478 - Katie Li / @ryfgvb

11/28/2014 at 09:25PM

15
#479 - Michael Leong / @mhwleong

12/03/2014 at 03:41PM

15
#480 - Jordana Lachow / @TomofBedlam

12/28/2014 at 08:58PM