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

654 active golfers, 2376 entries

Leaderboard (lowest score wins):
20
#631 - Jonathan Jin / @jjin082693

11/17/2014 at 05:14PM

20
#632 - Doru-Mihai Muntean / @dorumihai

12/01/2016 at 11:05PM

20
#633 - Jurica / @Jurica34581259

11/16/2018 at 11:51AM

20
#634 - king of cool / @fyces

01/17/2019 at 08:55AM

20
#635 - Vimfiz / @vimfiz

04/02/2019 at 10:55PM

20
#636 - Florent Uguet / @FlorentUguet

07/11/2019 at 03:36PM

20
#637 - Aaron / @_Lordofthevoid_

11/30/2019 at 04:40PM

22
#638 - Dmitry Teslenko / @krab_mozga

10/09/2014 at 01:18PM

22
#639 - Syd Kerckhove / @KerckhoveSyd

11/07/2014 at 09:02PM

22
#640 - jiangchuan / @tommy_he

11/15/2014 at 07:09PM

22
#641 - diogovk / @diogovk

05/08/2015 at 06:50PM

22
#642 - Rezo Zakala / @rzakala

05/26/2019 at 03:16PM

23
#643 - Dave Solomon / @davemsolomon

11/02/2014 at 02:08PM

23
#644 - Tom / @CronutFacts

05/22/2016 at 08:11PM

23
#645 - David Aguilera / @davilera

08/11/2016 at 02:17PM

23
#646 - Joaquin Coronel / @cantstoptheguac

02/03/2017 at 03:27PM

25
#647 - Martin Chabot / @martinosis

01/02/2015 at 01:27AM

25
#648 - ui / @ui61065627

03/13/2019 at 02:17AM

28
#649 - Anton / @AntonAzgarovich

06/10/2016 at 07:23PM

29
#650 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:16AM

33
#651 - Dr John Zoidberg / @johnny_zoidberg

10/17/2014 at 11:31PM

34
#652 - IHateTweeting999 / @ITweeting999

05/05/2019 at 08:40PM

39
#653 - Justin Knag / @justinknag

10/09/2014 at 03:20AM

55
#654 - Juampy NR / @juampynr

10/10/2014 at 08:33PM