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

0 comments


Created by: @udioica

125 active golfers, 450 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

14
#35 - vimgolfer / @vimgolfer7

10/16/2019 at 01:26PM

14
#36 - Miłosz Łakomy / @foobar01123

01/16/2020 at 11:41AM

14
#37 - chocolate / @chocola81394123

10/28/2020 at 10:00AM

14
#38 - Jung Yeon Park / @park_jungy

02/16/2021 at 11:28PM

14
#39 - hepebexè / @hepebexe

03/04/2021 at 06:26PM

14
#40 - 김범준 / @kmbmjn

03/10/2021 at 07:52AM

14
#41 - A A A / @37fatos

03/13/2021 at 02:21AM

14
#42 - pikjes / @pikjes2

03/24/2021 at 04:42PM

14
#43 - Alex / @AlexanderHeatl2

07/06/2022 at 05:28PM

14
#44 - Janzen / @__Coos

10/02/2022 at 08:42AM

14
#45 - Peppa Pig / @PeppaPigSg

06/30/2024 at 07:43AM

14
#46 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

17
#47 - f00b8tr / @f00b8tr5

07/25/2016 at 05:47AM

17
#48 - Cristian Lupașcu / @clupasq

07/25/2016 at 06:35AM

17
#49 - Jan Bundesmann / @janbundesmann

07/25/2016 at 09:10AM

17
#50 - Benjamin Espey / @bennyty

07/25/2016 at 01:39PM

17
#51 - tPenguinLTG / @tpenguinltg

07/25/2016 at 01:58PM

17
#52 - Jon Krause / @jkrause314

07/25/2016 at 06:08PM

17
#53 - Richard O'Brien / @richard0b

07/26/2016 at 02:39AM

17
#54 - Victor Haffreingue / @nobe_4

07/26/2016 at 06:37AM

17
#55 - "Smylers" / @Smylers2

07/26/2016 at 08:17AM

17
#56 - Herbert S. / @herbertshlong

08/03/2016 at 08:16PM

17
#57 - Vaughn Cato / @vaughncato

08/07/2016 at 05:54PM

17
#58 - Will / @obiwan__k3n00bi

08/31/2016 at 04:17AM

17
#59 - manbogot / @gmanbor

10/02/2016 at 10:04AM

17
#60 - poke / @useraaaaaaaaaaf

10/05/2016 at 02:18PM