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

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

123 active golfers, 430 entries

Solutions by @pikjes2:
14
#42 - pikjes / @pikjes2

03/24/2021 at 04:42PM

15
#>44 - pikjes / @pikjes2

03/24/2021 at 04:40PM

17
#>70 - pikjes / @pikjes2

03/24/2021 at 04:39PM

18
#>93 - pikjes / @pikjes2

03/24/2021 at 04:38PM

18
#>93 - pikjes / @pikjes2

03/24/2021 at 04:39PM

19
#>104 - pikjes / @pikjes2

03/24/2021 at 04:38PM

21
#>106 - pikjes / @pikjes2

03/24/2021 at 04:38PM

23
#>109 - pikjes / @pikjes2

03/24/2021 at 04:38PM

24
#>111 - pikjes / @pikjes2

03/24/2021 at 04:37PM

27
#>115 - pikjes / @pikjes2

03/24/2021 at 04:37PM

28
#>116 - pikjes / @pikjes2

03/24/2021 at 04:36PM

29
#>116 - pikjes / @pikjes2

03/24/2021 at 04:36PM

30
#>117 - pikjes / @pikjes2

03/24/2021 at 04:35PM

32
#>119 - pikjes / @pikjes2

03/24/2021 at 04:35PM

33
#>120 - pikjes / @pikjes2

03/24/2021 at 04:35PM

34
#>120 - pikjes / @pikjes2

03/24/2021 at 04:34PM

44
#>121 - pikjes / @pikjes2

03/24/2021 at 04:32PM

62
#>122 - pikjes / @pikjes2

03/24/2021 at 04:30PM