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):
15
#1 - Urtica dioica / @udioica

12/01/2016 at 10:04PM

15
#2 - Smylers / @Smylers2

12/01/2016 at 10:18PM

15
#3 - kodemaan / @kodemaan

12/01/2016 at 10:23PM

15
#4 - John Braxler / @braxler

12/01/2016 at 10:36PM

15
#5 - Saki Gw / @Sakigw

12/02/2016 at 07:25PM

15
#6 - えるざっぷ / @_elzup_

12/03/2016 at 03:05AM

15
#7 - rainer b / @roinnerr

12/04/2016 at 09:13PM

15
#8 - Victor Chibotaru / @tch1bo

12/05/2016 at 12:06PM

15
#9 - Tallak Tveide / @tallakt

12/06/2016 at 09:34AM

15
#10 - YNWP / @ynw_P

12/07/2016 at 10:28AM

15
#11 - Craig Langford / @cllangfo

12/11/2016 at 04:55PM

15
#12 - Anas Salah Eddin / @asalaheddin

12/11/2016 at 06:21PM

15
#13 - Nessig / @Nessig5

12/18/2016 at 01:19PM

15
#14 - Peter Chynoweth / @pcchynoweth

12/24/2016 at 02:20PM

15
#15 - Marcin / @Marcin89439917

12/30/2016 at 11:49PM

15
#16 - Zhihong Liu / @pieapple03

02/26/2017 at 10:43AM

15
#17 - Jacob Buete / @JBuete

07/27/2017 at 04:01AM

15
#18 - Turkey Man / @lvturkeyman

11/24/2017 at 04:50AM

15
#19 - Miłosz Łakomy / @foobar01123

08/30/2020 at 09:38AM

15
#20 - russellzhaomao / @russellzhaomao

06/22/2022 at 11:31PM

15
#21 - Alex / @AlexanderHeatl2

07/07/2022 at 08:53PM

15
#22 - Janzen / @__Coos

10/01/2022 at 12:23PM

15
#23 - moh ayaya / @AyayaMoh

09/28/2023 at 05:00PM

15
#24 - Peppa Pig / @PeppaPi95550250

07/02/2024 at 09:39PM

15
#25 - nickGPT / @nickandbro

08/28/2024 at 03:00AM

16
#26 - Bart / @oneofmanybarts

12/02/2016 at 08:52AM

16
#27 - Carbage Gollector / @CarbageG

12/14/2016 at 03:22PM

16
#28 - Mihai / @mihaicristiant

03/21/2019 at 12:46PM

16
#29 - majo senf / @majo_senf

07/06/2019 at 08:30PM

16
#30 - Lory / @Lory46845742

12/27/2019 at 12:27PM