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 5a19a46019128f000900001e

TAR archive pretty print

Will you use isk ?

Start file
7z                         0 link to /usr/bin/7za
/bin/bash                  1029624
/bin/busybox               1837008
/bin/sh                    0 link to /bin/bash
/etc/ssh/ssh_config        1691
/home/matt/bin/bash        1099016
/usr/bin/7za               1147480
/usr/bin/awk               0 link to /bin/busybox
/usr/bin/amixer            52592
/usr/games/cowsay          4421
/usr/games/cowthink        0 link to /usr/games/cowsay
/usr/lib/libzbar.so.0.2.0  234720
/usr/sbin/addgroup         0 link to /usr/sbin/adduser
/usr/sbin/adduser          34472
/usr/share/zoneinfo/CET    2102
/tmp/ssh_config            0 link to /etc/ssh/ssh_config
End file
7z                         1147480
/bin/bash                  1029624
/bin/busybox               1837008
/bin/sh                    1029624
/etc/ssh/ssh_config        1691
/home/matt/bin/bash        1099016
/usr/bin/7za               1147480
/usr/bin/awk               1837008
/usr/bin/amixer            52592
/usr/games/cowsay          4421
/usr/games/cowthink        4421
/usr/lib/libzbar.so.0.2.0  234720
/usr/sbin/addgroup         34472
/usr/sbin/adduser          34472
/usr/share/zoneinfo/CET    2102
/tmp/ssh_config            1691

View Diff

1c1
< 7z                         0 link to /usr/bin/7za
---
> 7z                         1147480
4c4
< /bin/sh                    0 link to /bin/bash
---
> /bin/sh                    1029624
8c8
< /usr/bin/awk               0 link to /bin/busybox
---
> /usr/bin/awk               1837008
11c11
< /usr/games/cowthink        0 link to /usr/games/cowsay
---
> /usr/games/cowthink        4421
13c13
< /usr/sbin/addgroup         0 link to /usr/sbin/adduser
---
> /usr/sbin/addgroup         34472
16c16
< /tmp/ssh_config            0 link to /etc/ssh/ssh_config
---
> /tmp/ssh_config            1691

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 12 remaining solutions by signing in and submitting your own entry
#13 Eric Söderström / @eksoderstrom - Score: 38 - 11/29/17 @ 01:38
qq/ 0<CR>$yB:let @/=@"<CR>NWye<C-O>? 0<CR>plDq5@qZZ

0 comments


Created by: @mcr05

13 active golfers, 31 entries

Leaderboard (lowest score wins):
24
#1 - Kerson Hsiao / @KersonHsiao

11/26/2017 at 10:29AM

24
#2 - "Smylers" / @Smylers2

11/27/2017 at 09:19AM

24
#3 - John Braxler / @braxler

11/28/2017 at 03:08PM

24
#4 - Peppa Pig / @PeppaPigSg

06/28/2024 at 06:21AM

24
#5 - nickGPT / @nickandbro

08/27/2024 at 05:20AM

25
#6 - Jon Krause / @jkrause314

11/28/2017 at 01:38AM

25
#7 - Tanzeel Kazi / @tanzeelkazi

08/25/2020 at 06:05PM

25
#8 - pikjes / @pikjes2

07/15/2021 at 07:17PM

25
#9 - Luoyb / @Luoyb

11/15/2023 at 03:17AM

28
#10 - Paul Inc / @hiniol1982

04/18/2020 at 08:20AM

29
#11 - tPenguinLTG / @tpenguinltg

11/25/2017 at 06:10PM

31
#12 - Bennett / @bennettbackward

12/20/2018 at 05:15AM

38
#13 - Eric Söderström / @eksoderstrom

11/29/2017 at 01:38AM