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 124 remaining solutions by signing in and submitting your own entry
#125 Stoyko Stanchev / @stoykostanchev - Score: 78 - 08/12/16 @ 21:55
3Gdd1GP5Gdd2GP5GddkP9Gdd7GP10GddkP12GddkP16GddllkkPkkjjjjjddkkjPjjddP<Esc>:w<CR>:q!<BS><CR>

0 comments


Created by: @udioica

125 active golfers, 450 entries

Leaderboard (lowest score wins):
18
#91 - Yann / @yannstad

02/22/2017 at 06:52AM

18
#92 - Brian Hall / @_bruab_

05/26/2017 at 12:55PM

18
#93 - Paul Sonkoly / @Phaul

08/18/2017 at 07:09AM

18
#94 - RockerZZY / @rocker_zzy

06/22/2020 at 11:40PM

18
#95 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 04:00PM

19
#96 - Jeremiah Goyette / @JeremiahGoyette

07/30/2016 at 02:27AM

19
#97 - Tyler Tomlinson / @tjtoml

08/04/2016 at 02:30AM

19
#98 - Christian Guenter / @chris_guenter

08/06/2016 at 07:49PM

19
#99 - Stanislav / @prstad

08/22/2016 at 04:40PM

19
#100 - Axl Waii / @axlwaii

10/02/2016 at 11:23AM

19
#101 - TweetDreams / @TweetMusicians

10/08/2016 at 09:08PM

19
#102 - myjunkmails / @myjunkmails

11/24/2016 at 08:19AM

19
#103 - Stop and think / @ms_uncountable

07/10/2017 at 01:09PM

19
#104 - Gurukandhamoorthi / @Gurukandhamoor1

07/11/2017 at 02:33PM

19
#105 - Johan Bleuzen / @jBleuzen

07/28/2017 at 03:05PM

19
#106 - Matt Robinson / @mmrobins

04/02/2018 at 06:07PM

20
#107 - Charles D / @charliechin

09/19/2017 at 11:48PM

21
#108 - Tuấnn / @tuantv_nd

08/02/2016 at 11:56PM

22
#109 - Rosalie Tolentino / @rosatolen

08/15/2016 at 12:15AM

22
#110 - James / @Dronak

08/28/2017 at 02:13AM

23
#111 - George Angelopoulos / @g_usermod

08/05/2016 at 06:55PM

24
#112 - Andres Araya / @arayaandresfco

07/25/2016 at 01:44PM

24
#113 - Christopher MCA / @christopherMCA

07/28/2016 at 03:38AM

25
#114 - Zephyr Pellerin / @zefyear

07/28/2016 at 07:45PM

25
#115 - POSIX / @po6ix

02/02/2022 at 05:28PM

26
#116 - Serguei Filimonov / @SergueiF

07/25/2016 at 02:23PM

27
#117 - wrglprmft2 / @wrglprmft2

10/18/2019 at 07:40PM

28
#118 - Stephan Bugnon / @stephanbugnon

08/02/2016 at 12:25PM

30
#119 - Matt Walsh / @wattmalsh

02/22/2017 at 11:15PM

32
#120 - Richard Laub / @RWLaub91

08/02/2016 at 04:34AM