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

664 active golfers, 2411 entries

Leaderboard (lowest score wins):
33
#661 - Dr John Zoidberg / @johnny_zoidberg

10/17/2014 at 11:31PM

34
#662 - IHateTweeting999 / @ITweeting999

05/05/2019 at 08:40PM

39
#663 - Justin Knag / @justinknag

10/09/2014 at 03:20AM

55
#664 - Juampy NR / @juampynr

10/10/2014 at 08:33PM