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 by @jonas-grobe:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @udioica

125 active golfers, 450 entries

Solutions by @jonas-grobe:
17
#78 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:57PM

18
#>95 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:57PM

19
#>106 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:56PM

23
#>111 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:54PM

26
#>116 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:44PM

29
#>118 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:49PM

30
#>119 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:41PM

32
#>121 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:41PM

36
#>122 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:40PM