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 53fdb108658ede0002599a8f

Suffix sort

Sort from the end of the line, as if the letters in each line were reversed.

Start file
adjutants
ametropic
audiobook
blockable
demagogic
embryotic
excusable
garroters
housesits
labellers
opacifier
proofroom
quercetin
rejudging
supremely
End file
demagogic
ametropic
embryotic
blockable
excusable
rejudging
audiobook
proofroom
quercetin
opacifier
labellers
garroters
housesits
adjutants
supremely

View Diff

1,4d0
< adjutants
< ametropic
< audiobook
< blockable
5a2
> ametropic
6a4
> blockable
8,11c6,7
< garroters
< housesits
< labellers
< opacifier
---
> rejudging
> audiobook
14c10,14
< rejudging
---
> opacifier
> labellers
> garroters
> housesits
> adjutants

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 39 remaining solutions by signing in and submitting your own entry
#40 dfleischman / dfleischman - Score: 28 - 09/13/14 @ 06:08
:sor/.$/r<CR>ddp:11m14|13m10<CR>ZZ

0 comments

#41 Ram Tamtam / ramtamtamtam - Score: 30 - 08/27/14 @ 13:11
:se ri<CR>qqC<C-R>"<Esc>+q15@q:sor<CR>15@qZZ

0 comments

#42 RobertT / techrt2050 - Score: 30 - 08/28/14 @ 16:33
:so<Tab>/.*\%9v/<CR>ddp2Ldd3kPjddjpZZ

0 comments

#43 Justin Knag / justinknag - Score: 30 - 09/02/14 @ 21:25
:sort<BS>/.$/r<CR>ddp:11m14|13m10<CR>ZZ

0 comments

#44 ЕвгенийВ / imater - Score: 30 - 10/27/14 @ 12:20
:sor/.$/r<CR>ddp:11m14|13,<BS>m10<CR>ZZ

0 comments

#45 Oliver Christ / 0liverChrist - Score: 30 - 02/14/15 @ 18:08
:sor /...../<CR>:<Up><Left>.<CR>:<Up><Left>.<CR>:<Up><Left>.<CR>ZZ

0 comments

#46 Assaf Lavie / AssafLavie - Score: 31 - 04/26/15 @ 19:18
:sor/.$/r<CR>ddp:14<CR>dd<Up><Up>..<Up>"1P..ZZ

0 comments

#47 James T. Huggett / Jmeshka - Score: 33 - 09/01/14 @ 09:30
qq$"ax"Ax......"aP<CR>@qq@q:so<Tab><CR>@qZZ

0 comments

#48 eBrnd / eBrnd - Score: 33 - 11/02/14 @ 17:04
:set rev<Tab><CR>qqC<C-R>"<Esc>jq14@q:sor<CR>15@@ZZ

0 comments

#49 Daniel Helfrich / lazyman114 - Score: 47 - 08/28/14 @ 21:28
:so<Tab>/.*\%9v/<CR>ddp2LAdd<Esc>dd3kPllllllllllhxxjddjpZZ

0 comments

Created by: udioica

49 active golfers, 151 entries

Leaderboard (lowest score wins):
19
#1 - Urtica dioica / udioica

08/28/2014 at 10:36AM

19
#2 - Kerson Hsiao / KersonHsiao

08/28/2014 at 11:53AM

19
#3 - John Braxler / braxler

08/28/2014 at 02:47PM

19
#4 - Petro Тrouq / zulolosi

08/28/2014 at 06:21PM

20
#5 - ———đίxίє—flαтlίиє——— / _dixie_flatline

09/01/2014 at 04:45AM

21
#6 - Kai Yuan / kentyuan

08/28/2014 at 10:06AM

21
#7 - pftb12345 / pftb12345

04/22/2015 at 11:39PM

22
#8 - John Meisner / jmeisned

08/27/2014 at 03:59PM

22
#9 - Kayla Statham / ijustwannacode

08/27/2014 at 08:57PM

22
#10 - Guillaume Seren / guillaumeseren

08/28/2014 at 08:08AM

22
#11 - Mark Janssen / MPCtje

08/28/2014 at 08:14AM

22
#12 - Phil Runninger / PhilRunninger

08/28/2014 at 01:33PM

22
#13 - brandon salmon / Exiledz

08/29/2014 at 07:55AM

22
#14 - Jeff / just_geophree

10/05/2014 at 10:43PM

23
#15 - Matthieu Crapet / mcr05

02/27/2015 at 03:09PM

24
#16 - Tim Chase / gumnos

08/27/2014 at 08:16PM

24
#17 - preston / mstrdarcy

08/28/2014 at 06:25PM

24
#18 - Quota / Quotad

09/03/2014 at 02:23PM

24
#19 - Carlos López / morrizon

09/04/2014 at 12:17PM

24
#20 - Hu Junfeng / junfeng

09/15/2014 at 05:35PM

24
#21 - benekeusz / benekeusz

12/09/2014 at 10:32AM

24
#22 - mark0829 / mark0829

02/04/2015 at 05:43AM

24
#23 - Lifepillar / lifepillar

07/05/2015 at 04:39PM

24
#24 - Jon Krause / jkrause314

05/14/2016 at 11:05PM

24
#25 - Ben Hill / KaizenSoze70

06/13/2016 at 06:38PM

25
#26 - Caek / Caek_

08/27/2014 at 12:28PM

25
#27 - Zapata / Incredible_JFP

08/28/2014 at 11:31PM

25
#28 - madka / lachrimae_pavan

09/06/2014 at 04:43PM

25
#29 - Mattias Fransson / azzidoos

09/08/2014 at 04:03PM

25
#30 - oliver mueller / marcontwit

09/13/2014 at 06:50AM

25
#31 - mnx / mnxx

11/06/2014 at 11:01AM

25
#32 - Walker Boh / walker_boh

10/19/2015 at 12:51PM

27
#33 - Florian Lücke / CannibalGorilla

08/29/2014 at 10:12PM

27
#34 - Vim Golfer / thevimgolfer

08/30/2014 at 09:54AM

28
#35 - Saher El-Neklawy / saherneklawy

08/27/2014 at 04:04PM

28
#36 - Bart / oneofmanybarts

08/28/2014 at 09:27AM

28
#37 - Vim Golfer / golfing_vim

08/28/2014 at 08:42PM

28
#38 - brett / brettyukich

08/31/2014 at 08:45PM

28
#39 - Jaron R. Hendrix / Ronamo

09/05/2014 at 05:36PM

28
#40 - dfleischman / dfleischman

09/13/2014 at 06:08AM

30
#41 - Ram Tamtam / ramtamtamtam

08/27/2014 at 01:11PM

30
#42 - RobertT / techrt2050

08/28/2014 at 04:33PM

30
#43 - Justin Knag / justinknag

09/02/2014 at 09:25PM

30
#44 - ЕвгенийВ / imater

10/27/2014 at 12:20PM

30
#45 - Oliver Christ / 0liverChrist

02/14/2015 at 06:08PM

31
#46 - Assaf Lavie / AssafLavie

04/26/2015 at 07:18PM

33
#47 - James T. Huggett / Jmeshka

09/01/2014 at 09:30AM

33
#48 - eBrnd / eBrnd

11/02/2014 at 05:04PM

47
#49 - Daniel Helfrich / lazyman114

08/28/2014 at 09:28PM