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

578 active golfers, 1992 entries

Leaderboard (lowest score wins):
23
#571 - Joaquin Coronel / @cantstoptheguac

02/03/2017 at 03:27PM

25
#572 - Martin Chabot / @martinosis

01/02/2015 at 01:27AM

25
#573 - ui / @ui61065627

03/13/2019 at 02:17AM

28
#574 - Anton / @AntonAzgarovich

06/10/2016 at 07:23PM

29
#575 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:16AM

33
#576 - Dr John Zoidberg / @johnny_zoidberg

10/17/2014 at 11:31PM

39
#577 - Justin Knag / @justinknag

10/09/2014 at 03:20AM

55
#578 - Juampy NR / @juampynr

10/10/2014 at 08:33PM