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 @yannstad:

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

74 active golfers, 179 entries

Solutions by @yannstad:
18
#54 - Yann / @yannstad

02/22/2017 at 06:47AM

21
#>71 - Yann / @yannstad

02/22/2017 at 06:46AM

28
#>73 - Yann / @yannstad

02/22/2017 at 06:44AM