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

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

125 active golfers, 450 entries

Solutions by @nickandbro:
14
#46 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

17
#>78 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

18
#>95 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

19
#>106 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

20
#>107 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

21
#>108 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

22
#>110 - nickGPT / @nickandbro

08/28/2024 at 03:13AM

23
#>111 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

24
#>113 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

25
#>115 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

26
#>116 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

27
#>117 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

28
#>118 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

30
#>119 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

32
#>121 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

33
#>122 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

41
#>123 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

45
#>124 - nickGPT / @nickandbro

08/28/2024 at 03:12AM

78
#>125 - nickGPT / @nickandbro

08/28/2024 at 03:12AM