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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 100 remaining solutions by signing in and submitting your own entry
#101 Stoyko Stanchev / @stoykostanchev - Score: 78 - 08/12/16 @ 21:55
3Gdd1GP5Gdd2GP5GddkP9Gdd7GP10GddkP12GddkP16GddllkkPkkjjjjjddkkjPjjddP<Esc>:w<CR>:q!<BS><CR>

0 comments


Created by: @udioica

101 active golfers, 325 entries

Leaderboard (lowest score wins):
18
#61 - Walker Boh / @walker_boh

07/25/2016 at 09:25AM

18
#62 - ushumpei / @ushumpei_

07/27/2016 at 09:13AM

18
#63 - Matt Clement / @zetaspartan2552

07/30/2016 at 11:59PM

18
#64 - jn / @j1357924

08/07/2016 at 04:48PM

18
#65 - jj johnson / @jcassj1

08/22/2016 at 04:05PM

18
#66 - Albert Mikó / @berci1992

08/26/2016 at 08:54PM

18
#67 - Constantine / @ConstantineHatz

09/16/2016 at 06:25PM

18
#68 - Kyouma / @kyoumaJohn

10/12/2016 at 10:53PM

18
#69 - BlackCap / @BlackCapCoder

11/23/2016 at 05:50PM

18
#70 - Etienne Florent / @EtienneFlorent

11/23/2016 at 05:53PM

18
#71 - Liam S Ismail / @AC01Y

01/03/2017 at 11:31PM

18
#72 - Yann / @yannstad

02/22/2017 at 06:52AM

18
#73 - Brian Hall / @_bruab_

05/26/2017 at 12:55PM

18
#74 - Paul Sonkoly / @Phaul

08/18/2017 at 07:09AM

19
#75 - Jeremiah Goyette / @JeremiahGoyette

07/30/2016 at 02:27AM

19
#76 - Tyler Tomlinson / @tjtoml

08/04/2016 at 02:30AM

19
#77 - Christian Guenter / @chris_guenter

08/06/2016 at 07:49PM

19
#78 - Stanislav / @prstad

08/22/2016 at 04:40PM

19
#79 - Axl Waii / @axlwaii

10/02/2016 at 11:23AM

19
#80 - TweetDreams / @TweetMusicians

10/08/2016 at 09:08PM

19
#81 - myjunkmails / @myjunkmails

11/24/2016 at 08:19AM

19
#82 - Stop and think / @ms_uncountable

07/10/2017 at 01:09PM

19
#83 - Gurukandhamoorthi / @Gurukandhamoor1

07/11/2017 at 02:33PM

19
#84 - Johan Bleuzen / @jBleuzen

07/28/2017 at 03:05PM

19
#85 - Matt Robinson / @mmrobins

04/02/2018 at 06:07PM

20
#86 - Charles D / @charliechin

09/19/2017 at 11:48PM

21
#87 - Tuấnn / @tuantv_nd

08/02/2016 at 11:56PM

22
#88 - Rosalie Tolentino / @rosatolen

08/15/2016 at 12:15AM

22
#89 - James / @Dronak

08/28/2017 at 02:13AM

23
#90 - George Angelopoulos / @g_usermod

08/05/2016 at 06:55PM