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):
14
#31 - martin tourneboeuf / @martintournebo1

02/01/2018 at 07:32PM

14
#32 - Dax / @zacoxi

12/06/2018 at 01:39AM

14
#33 - alekfed / @alek_fed

04/16/2019 at 12:52PM

14
#34 - majo senf / @majo_senf

06/24/2019 at 01:29PM

17
#35 - f00b8tr / @f00b8tr5

07/25/2016 at 05:47AM

17
#36 - Cristian Lupașcu / @clupasq

07/25/2016 at 06:35AM

17
#37 - Jan Bundesmann / @janbundesmann

07/25/2016 at 09:10AM

17
#38 - Benjamin Espey / @bennyty

07/25/2016 at 01:39PM

17
#39 - tPenguinLTG / @tpenguinltg

07/25/2016 at 01:58PM

17
#40 - Jon Krause / @jkrause314

07/25/2016 at 06:08PM

17
#41 - Richard O'Brien / @richard0b

07/26/2016 at 02:39AM

17
#42 - Victor Haffreingue / @nobe_4

07/26/2016 at 06:37AM

17
#43 - Smylers / @Smylers2

07/26/2016 at 08:17AM

17
#44 - Herbert S. / @herbertshlong

08/03/2016 at 08:16PM

17
#45 - Vaughn Cato / @vaughncato

08/07/2016 at 05:54PM

17
#46 - Will / @obiwan__k3n00bi

08/31/2016 at 04:17AM

17
#47 - manbogot / @gmanbor

10/02/2016 at 10:04AM

17
#48 - poke / @useraaaaaaaaaaf

10/05/2016 at 02:18PM

17
#49 - Christian Rondeau / @c_rondeau

10/17/2016 at 03:24AM

17
#50 - Davis Fields / @i301585

11/05/2016 at 01:59AM

17
#51 - Alan Turing / @alantrng

11/28/2016 at 10:54PM

17
#52 - Michał Dytko / @DytkoM

12/21/2016 at 10:31AM

17
#53 - Daniel / @Daniel00288663

04/18/2017 at 11:16AM

17
#54 - c0llision / @sh3llcode

01/28/2018 at 09:41AM

17
#55 - DHM / @DHM29978992

04/29/2018 at 11:26PM

17
#56 - name / @name65894813

11/29/2018 at 02:34PM

17
#57 - Mihai / @mihaicristiant

01/09/2019 at 12:25PM

17
#58 - Vimfiz / @vimfiz

06/13/2019 at 08:49PM

17
#59 - Ivo Blöchliger / @aigledesalpes

08/23/2019 at 01:23PM

18
#60 - Dmitriy Olshevskiy / @olshevskiy_dv

07/25/2016 at 08:23AM