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 by @kentyuan:

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

67 active golfers, 270 entries

Solutions by @kentyuan:
21
#15 - Kai Yuan / @kentyuan

08/28/2014 at 10:06AM

25
#>38 - Kai Yuan / @kentyuan

08/27/2014 at 12:53PM