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 @chocola81394123:

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

118 active golfers, 406 entries

Solutions by @chocola81394123:
14
#37 - chocolate / @chocola81394123

10/28/2020 at 10:00AM

17
#>68 - chocolate / @chocola81394123

10/28/2020 at 09:59AM

18
#>88 - chocolate / @chocola81394123

10/28/2020 at 09:59AM

21
#>101 - chocolate / @chocola81394123

10/28/2020 at 09:58AM

23
#>104 - chocolate / @chocola81394123

10/28/2020 at 09:41AM

24
#>106 - chocolate / @chocola81394123

10/28/2020 at 09:36AM

26
#>109 - chocolate / @chocola81394123

10/28/2020 at 09:35AM

29
#>111 - chocolate / @chocola81394123

10/28/2020 at 09:32AM

33
#>115 - chocolate / @chocola81394123

10/28/2020 at 09:27AM

37
#>115 - chocolate / @chocola81394123

10/28/2020 at 09:25AM

41
#>116 - chocolate / @chocola81394123

10/28/2020 at 09:24AM

48
#>117 - chocolate / @chocola81394123

10/28/2020 at 09:14AM

60
#>117 - chocolate / @chocola81394123

10/28/2020 at 09:10AM