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):
17
#61 - Christian Rondeau / @c_rondeau

10/17/2016 at 03:24AM

17
#62 - Davis Fields / @i301585

11/05/2016 at 01:59AM

17
#63 - Alan Turing / @alantrng

11/28/2016 at 10:54PM

17
#64 - Michał Dytko / @DytkoM

12/21/2016 at 10:31AM

17
#65 - Daniel / @Daniel00288663

04/18/2017 at 11:16AM

17
#66 - c0llision / @sh3llcode

01/28/2018 at 09:41AM

17
#67 - DHM / @DHM29978992

04/29/2018 at 11:26PM

17
#68 - name / @name65894813

11/29/2018 at 02:34PM

17
#69 - Mihai / @mihaicristiant

01/09/2019 at 12:25PM

17
#70 - Vimfiz / @vimfiz

06/13/2019 at 08:49PM

17
#71 - Ivo Blöchliger / @aigledesalpes

08/23/2019 at 01:23PM

17
#72 - Lory / @Lory46845742

11/26/2019 at 02:35PM

17
#73 - mevmev / @mevmev8

10/08/2021 at 12:09PM

17
#74 - rappenstein2 / @rappenstein2

01/15/2022 at 10:56PM

17
#75 - Jean George / @JeanGeo20504212

01/20/2022 at 03:56PM

17
#76 - x03n046 / @x03n046

06/02/2022 at 12:30AM

17
#77 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 06:10PM

17
#78 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:57PM

18
#79 - Dmitriy Olshevskiy / @olshevskiy_dv

07/25/2016 at 08:23AM

18
#80 - Walker Boh / @walker_boh

07/25/2016 at 09:25AM

18
#81 - ushumpei / @ushumpei_

07/27/2016 at 09:13AM

18
#82 - Matt Clement / @zetaspartan2552

07/30/2016 at 11:59PM

18
#83 - jn / @j1357924

08/07/2016 at 04:48PM

18
#84 - jj johnson / @jcassj1

08/22/2016 at 04:05PM

18
#85 - Albert Mikó / @berci1992

08/26/2016 at 08:54PM

18
#86 - Constantine / @ConstantineHatz

09/16/2016 at 06:25PM

18
#87 - Kyouma / @kyoumaJohn

10/12/2016 at 10:53PM

18
#88 - BlackCap / @BlackCapCoder

11/23/2016 at 05:50PM

18
#89 - Etienne Florent / @EtienneFlorent

11/23/2016 at 05:53PM

18
#90 - Liam S Ismail / @AC01Y

01/03/2017 at 11:31PM