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 583112d0215b7c3ed2016bdb

Order and join

There's something special about the input order.

Start file
four
one
two
five
three
six
End file
one two three
four five
six

View Diff

You're one of the proud few who checks the diff. Have a hint.

10 strokes. Probably.

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 220 remaining solutions by signing in and submitting your own entry
#221 shellfire32 / @shellfire32 - Score: 71 - 11/25/16 @ 13:54
hggjji<BS> <Esc>kklljjjhhhkxxuuddj?<Esc><Esc>pujkppuki<BS> <Esc>hhhhhhhkddjpkxxuuddpi<BS> <Esc>;:wq<CR>

0 comments


Created by: @udioica

221 active golfers, 780 entries

Leaderboard (lowest score wins):
20
#211 - Delon / @delonleonard

01/17/2020 at 07:07AM

22
#212 - TiByte / @tibyte

11/20/2016 at 12:49PM

22
#213 - Adi Ron / @notadiron

03/10/2017 at 03:50PM

23
#214 - Chris Jewell 🏳️‍🌈 / @knightstickc

11/21/2016 at 02:38AM

23
#215 - Adam Kożuch / @adamkozuch

04/06/2017 at 08:14AM

23
#216 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:03PM

23
#217 - Víctor López / @viticlick

08/23/2018 at 09:15AM

24
#218 - Aaron / @_Lordofthevoid_

12/03/2019 at 05:07PM

32
#219 - Cù Hữu Hoàng / @Cuhuuhoang

02/14/2017 at 03:04PM

37
#220 - diwa / @Di_nate_

12/18/2018 at 03:43AM

71
#221 - shellfire32 / @shellfire32

11/25/2016 at 01:54PM