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

114 active golfers, 394 entries

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

03/24/2021 at 04:42PM

15
#>42 - pikjes / @pikjes2

03/24/2021 at 04:40PM

17
#>68 - pikjes / @pikjes2

03/24/2021 at 04:39PM

18
#>85 - pikjes / @pikjes2

03/24/2021 at 04:38PM

18
#>85 - pikjes / @pikjes2

03/24/2021 at 04:39PM

19
#>96 - pikjes / @pikjes2

03/24/2021 at 04:38PM

21
#>98 - pikjes / @pikjes2

03/24/2021 at 04:38PM

23
#>101 - pikjes / @pikjes2

03/24/2021 at 04:38PM

24
#>103 - pikjes / @pikjes2

03/24/2021 at 04:37PM

27
#>106 - pikjes / @pikjes2

03/24/2021 at 04:37PM

28
#>107 - pikjes / @pikjes2

03/24/2021 at 04:36PM

29
#>107 - pikjes / @pikjes2

03/24/2021 at 04:36PM

30
#>108 - pikjes / @pikjes2

03/24/2021 at 04:35PM

32
#>110 - pikjes / @pikjes2

03/24/2021 at 04:35PM

33
#>111 - pikjes / @pikjes2

03/24/2021 at 04:35PM

34
#>111 - pikjes / @pikjes2

03/24/2021 at 04:34PM

44
#>112 - pikjes / @pikjes2

03/24/2021 at 04:32PM

62
#>113 - pikjes / @pikjes2

03/24/2021 at 04:30PM