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

0 comments


Created by: @i5513

60 active golfers, 131 entries

Leaderboard (lowest score wins):
18
#31 - Liam S Ismail / @AC01Y

12/06/2016 at 11:30PM

18
#32 - さよきみ / @MrIn1121

12/08/2016 at 05:47PM

18
#33 - holy_sin / @0zero0

12/09/2016 at 07:34AM

18
#34 - herbage / @herbage2

12/11/2016 at 02:02PM

18
#35 - Michał Dytko / @DytkoM

12/19/2016 at 08:30AM

18
#36 - retro / @tryphopp

12/20/2016 at 12:02AM

18
#37 - Mattias GABRIEL / @matou008

12/20/2016 at 09:47PM

18
#38 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 03:16PM

18
#39 - we’re going to need a bigger bot / @assaflavie

01/01/2017 at 08:02PM

18
#40 - Patrick Sanan / @patricksanan

01/09/2017 at 01:20PM

18
#41 - Hans Yelek / @hans_yelek

01/09/2017 at 11:05PM

18
#42 - Matt Rasmus / @_mattrasmus

01/13/2017 at 06:19PM

18
#43 - Social Botolinum / @SocialBot4

01/25/2017 at 12:19PM

18
#44 - Yann / @yannstad

02/22/2017 at 06:47AM

18
#45 - Mark Brody / @_markbrody

03/23/2017 at 05:51AM

18
#46 - Daniel / @Daniel00288663

03/29/2017 at 07:59AM

18
#47 - 20speedvegan / @ashkevinm

04/14/2017 at 04:24PM

18
#48 - Tommaso Leonardi / @tom_leon

05/11/2017 at 02:53PM

18
#49 - Sergey Lisakov / @pozitron57

06/06/2017 at 08:33PM

18
#50 - 杨洋 / @176795444

07/16/2017 at 08:57AM

18
#51 - Jorge / @jherreso

07/27/2017 at 02:23AM

18
#52 - Brandon Height / @Lask0x

08/09/2017 at 08:04PM

18
#53 - lujianmei / @lujianmei

09/05/2017 at 09:19AM

18
#54 - DHM / @DHM29978992

05/01/2018 at 12:25AM

18
#55 - Sxcy / @SxcyX

11/06/2018 at 03:58PM

19
#56 - Миша Сорокин / @rafmikovi4

04/14/2017 at 11:15AM

20
#57 - Inclusive Debates / @InclusiveDebate

01/04/2017 at 12:56AM

21
#58 - Gurukandhamoorthi / @Gurukandhamoor1

07/13/2017 at 11:54AM

22
#59 - Florian Vallen / @florianvallen

12/04/2016 at 11:14AM

50
#60 - Jurica / @Jurica34581259

12/13/2018 at 05:06PM