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 4 remaining solutions by signing in and submitting your own entry
#5 tPenguinLTG / tpenguinltg - Score: 29 - 11/25/17 @ 18:10
qq/ l<CR>$#wyw<C-O>F0PlDq5@qhC16<C-N><Esc>ZZ

0 comments

#6 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

6 active golfers, 10 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

25
#4 - Jon Krause / jkrause314

11/28/2017 at 01:38AM

29
#5 - tPenguinLTG / tpenguinltg

11/25/2017 at 06:10PM

38
#6 - Eric Söderström / eksoderstrom

11/29/2017 at 01:38AM