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

0 comments


Created by: @i5513

76 active golfers, 188 entries

Leaderboard (lowest score wins):
18
#61 - Sergey Lisakov / @pozitron57

06/06/2017 at 08:33PM

18
#62 - 杨洋 / @176795444

07/16/2017 at 08:57AM

18
#63 - Jorge / @jherreso

07/27/2017 at 02:23AM

18
#64 - Brandon Height / @Lask0x

08/09/2017 at 08:04PM

18
#65 - lujianmei / @lujianmei

09/05/2017 at 09:19AM

18
#66 - DHM / @DHM29978992

05/01/2018 at 12:25AM

18
#67 - Sxcy / @SxcyX

11/06/2018 at 03:58PM

18
#68 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 05:48PM

18
#69 - James / @Dronak

10/16/2023 at 08:39PM

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

04/14/2017 at 11:15AM

19
#71 - RockerZZY / @rocker_zzy

07/12/2020 at 12:09PM

19
#72 - jonas-grobe / @jonas-grobe

02/03/2024 at 09:47PM

20
#73 - Inclusive Debates / @InclusiveDebate

01/04/2017 at 12:56AM

21
#74 - Gurukandhamoorthi / @Gurukandhamoor1

07/13/2017 at 11:54AM

22
#75 - Florian Vallen / @florianvallen

12/04/2016 at 11:14AM

50
#76 - Jurica / @Jurica34581259

12/13/2018 at 05:06PM