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

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 61 remaining solutions by signing in and submitting your own entry
#62 Jurica / @Jurica34581259 - Score: 50 - 12/13/18 @ 17:06
jdwxjdwxkkJJ2j0dwxjdwxjdwx3kJJJ4Gqadwxjq4@a3G5JJZZ

0 comments


Created by: @i5513

62 active golfers, 137 entries

Leaderboard (lowest score wins):
22
#61 - Florian Vallen / @florianvallen

12/04/2016 at 11:14AM

50
#62 - Jurica / @Jurica34581259

12/13/2018 at 05:06PM