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 66 remaining solutions by signing in and submitting your own entry
#67 Gurukandhamoorthi / @Gurukandhamoor1 - Score: 73 - 08/16/17 @ 15:51
<Esc>Ode<C-X><C-L><C-X><C-L><Esc>Oam<C-X><C-L><Esc>jjkobl<C-N><CR>ex<C-N><CR>re<C-N><CR>aud<C-N><CR>pr<C-N><CR>q<C-N><CR>q<BS>o<C-N><CR>l<C-N><CR>t<BS>g<C-N><CR>h<C-N><CR>ad<C-N><CR>s<C-N><Esc>jdGzZZZ

0 comments


Created by: @udioica

67 active golfers, 270 entries

Leaderboard (lowest score wins):
31
#61 - we’re going to need a bigger bot / @assaflavie

04/26/2015 at 07:18PM

31
#62 - albalitz / @_albalitz

06/26/2019 at 03:36PM

33
#63 - James T. Huggett / @Jmeshka

09/01/2014 at 09:30AM

33
#64 - eBrnd / @eBrnd

11/02/2014 at 05:04PM

33
#65 - Mihai / @mihaicristiant

04/11/2019 at 06:48AM

47
#66 - Daniel Helfrich / @lazyman114

08/28/2014 at 09:28PM

73
#67 - Gurukandhamoorthi / @Gurukandhamoor1

08/16/2017 at 03:51PM