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 57959f8a083a7e0c45000001

Paragraph sort

My large herbivorous mammals, Vim commands, and POSIX utilities need to be sorted separately.

Start file
camel
elk
alpaca
deer
buffalo

buffer
delete
append
change
file
edit

date
chmod
awk
bc
End file
alpaca
buffalo
camel
deer
elk

append
buffer
change
delete
edit
file

awk
bc
chmod
date

View Diff

The :abc's of Vim, you could say, are the expansions of each single-letter
colon command. Here's the complete list:

:append
:buffer
:change
:delete
:edit
:file
:global
:help
:insert
:join
:k (:mark)
:list
:move
:next
:open
:print
:quit
:read
:substitute
:t (:copy)
:undo
:vglobal
:write
:xit (:exit)
:yank
:z

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 100 remaining solutions by signing in and submitting your own entry
#101 Stoyko Stanchev / @stoykostanchev - Score: 78 - 08/12/16 @ 21:55
3Gdd1GP5Gdd2GP5GddkP9Gdd7GP10GddkP12GddkP16GddllkkPkkjjjjjddkkjPjjddP<Esc>:w<CR>:q!<BS><CR>

0 comments


Created by: @udioica

101 active golfers, 325 entries

Leaderboard (lowest score wins):
24
#91 - Andres Araya / @arayaandresfco

07/25/2016 at 01:44PM

24
#92 - Christopher MCA / @christopherMCA

07/28/2016 at 03:38AM

25
#93 - Zephyr Pellerin / @zefyear

07/28/2016 at 07:45PM

26
#94 - Serguei Filimonov / @SergueiF

07/25/2016 at 02:23PM

28
#95 - Stephan Bugnon / @stephanbugnon

08/02/2016 at 12:25PM

30
#96 - Matt Walsh / @wattmalsh

02/22/2017 at 11:15PM

32
#97 - Richard Laub / @RWLaub91

08/02/2016 at 04:34AM

32
#98 - Jurica / @Jurica34581259

11/19/2018 at 09:06PM

33
#99 - Sam Hammer / @samhammer325

07/30/2016 at 06:22AM

41
#100 - Micha / @michman89

08/08/2016 at 11:48AM

78
#101 - Stoyko Stanchev / @stoykostanchev

08/12/2016 at 09:55PM