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

0 comments


Created by: @udioica

105 active golfers, 336 entries

Leaderboard (lowest score wins):
22
#91 - Rosalie Tolentino / @rosatolen

08/15/2016 at 12:15AM

22
#92 - James / @Dronak

08/28/2017 at 02:13AM

23
#93 - George Angelopoulos / @g_usermod

08/05/2016 at 06:55PM

24
#94 - Andres Araya / @arayaandresfco

07/25/2016 at 01:44PM

24
#95 - Christopher MCA / @christopherMCA

07/28/2016 at 03:38AM

25
#96 - Zephyr Pellerin / @zefyear

07/28/2016 at 07:45PM

26
#97 - Serguei Filimonov / @SergueiF

07/25/2016 at 02:23PM

27
#98 - wrglprmft2 / @wrglprmft2

10/18/2019 at 07:40PM

28
#99 - Stephan Bugnon / @stephanbugnon

08/02/2016 at 12:25PM

30
#100 - Matt Walsh / @wattmalsh

02/22/2017 at 11:15PM

32
#101 - Richard Laub / @RWLaub91

08/02/2016 at 04:34AM

32
#102 - Jurica / @Jurica34581259

11/19/2018 at 09:06PM

33
#103 - Sam Hammer / @samhammer325

07/30/2016 at 06:22AM

41
#104 - Micha / @michman89

08/08/2016 at 11:48AM

78
#105 - Stoyko Stanchev / @stoykostanchev

08/12/2016 at 09:55PM