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 58409414770f4b474601384c

Sort files from hosts

Resume files by host. I hope you enjoy with this challenge

Start file
dartacan: /etc/hosts
dartacan: /etc/httpd/conf/httpd.conf
dartacan: /opt/scripts/list_vhosts
mozart: /etc/resolv.conf
mozart: /usr/bin/vim
mozart: /usr/bin/awesome
mozart: ~/.gem/ruby/2.1.0/bin/vimgolf
gullit: /bin/bash
gullit: /etc/hosts
gullit: /usr/bin/xorg
gullit: /usr/bin/xeyes
gullit: /usr/bin/X
gullit: /
End file
dartacan: /etc/hosts /etc/httpd/conf/httpd.conf /opt/scripts/list_vhosts
mozart: /etc/resolv.conf /usr/bin/vim /usr/bin/awesome ~/.gem/ruby/2.1.0/bin/vimgolf
gullit: /bin/bash /etc/hosts /usr/bin/xorg /usr/bin/xeyes /usr/bin/X /

View Diff

1,13c1,3
< dartacan: /etc/hosts
< dartacan: /etc/httpd/conf/httpd.conf
< dartacan: /opt/scripts/list_vhosts
< mozart: /etc/resolv.conf
< mozart: /usr/bin/vim
< mozart: /usr/bin/awesome
< mozart: ~/.gem/ruby/2.1.0/bin/vimgolf
< gullit: /bin/bash
< gullit: /etc/hosts
< gullit: /usr/bin/xorg
< gullit: /usr/bin/xeyes
< gullit: /usr/bin/X
< gullit: /
---
> dartacan: /etc/hosts /etc/httpd/conf/httpd.conf /opt/scripts/list_vhosts
> mozart: /etc/resolv.conf /usr/bin/vim /usr/bin/awesome ~/.gem/ruby/2.1.0/bin/vimgolf
> gullit: /bin/bash /etc/hosts /usr/bin/xorg /usr/bin/xeyes /usr/bin/X /

Solutions by @assaflavie:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @i5513

76 active golfers, 188 entries

Solutions by @assaflavie:
18
#51 - we’re going to need a bigger bot / @assaflavie

01/01/2017 at 08:02PM