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 56add9a16518ef02c001af3d

Alsa configuration

I'm tweaking my ~/.asoundrc file!

Start file
# dmix Plugin + Soft Volume
pcm.myconfig {
    type plug
    slave.pcm {
        type softvol
        control {
            name "Master Playback Vim"
            card 0
        }
        min_dB -19.0
        max_dB 10.2
        slave.pcm {
            @func concat
            strings [ "dmix:CARD=0,FORMAT=S16" ]
        }
    }
}
End file
# dmix Plugin + Soft Volume
pcm.myconfig {
    type plug
    slave.pcm {
        type softvol
        control {
            name "Master Playback Volume"
            card 0
        }
        min_dB -20.0
        max_dB 10.0
        slave.pcm "dmix:CARD=0,FORMAT=S16"
    }
}

View Diff

7c7
<             name "Master Playback Vim"
---
>             name "Master Playback Volume"
10,15c10,12
<         min_dB -19.0
<         max_dB 10.2
<         slave.pcm {
<             @func concat
<             strings [ "dmix:CARD=0,FORMAT=S16" ]
<         }
---
>         min_dB -20.0
>         max_dB 10.0
>         slave.pcm "dmix:CARD=0,FORMAT=S16"

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 122 remaining solutions by signing in and submitting your own entry
#123 K Aravind Kumar / @ezbi_124 - Score: 82 - 02/06/16 @ 17:55
:%s/Vim/volume<BS><BS><BS><BS><BS><BS>Volume/g<CR>10G<C-X>j<C-X><C-X>jxjdddwx$xjddkf"yi"k$pa"<Esc>bbbbbbbbbi"<Esc><Esc>jdd:wq!<CR>

0 comments


Created by: @mcr05

123 active golfers, 481 entries

Leaderboard (lowest score wins):
22
#31 - John Goes / @johnwgoes

05/04/2016 at 12:30PM

22
#32 - Saki Gw / @Sakigw

05/23/2016 at 03:43PM

22
#33 - John Doe Sr. / @johndoe67890543

05/29/2016 at 11:47PM

22
#34 - yudera / @yudemente

06/07/2016 at 03:38PM

22
#35 - Martin Tõnusoo / @martintonusoo

08/28/2016 at 05:25PM

22
#36 - jdupont655 / @jdupont655

09/02/2016 at 02:23PM

22
#37 - Stephen Aument / @saument

09/04/2016 at 12:53AM

22
#38 - trx / @trxdbg

10/13/2016 at 07:57AM

22
#39 - Zhihong Liu / @pieapple03

02/27/2017 at 01:43PM

22
#40 - sijinyuan / @sijinyuan

02/28/2017 at 02:26AM

22
#41 - Daniel / @Daniel00288663

04/18/2017 at 02:11PM

22
#42 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:49AM

22
#43 - 梧桐王子 / @WutongYujie

05/08/2017 at 02:11AM

22
#44 - Turkey Man / @lvturkeyman

11/13/2017 at 02:43PM

22
#45 - DHM / @DHM29978992

04/28/2018 at 09:08PM

22
#46 - Daniël De Koker / @daniel_koker

07/12/2018 at 09:10AM

22
#47 - Dax / @zacoxi

12/04/2018 at 03:02AM

22
#48 - majo senf / @majo_senf

06/21/2019 at 02:06PM

22
#49 - Miłosz Łakomy / @foobar01123

12/23/2019 at 04:58AM

22
#50 - Jean George / @JeanGeo20504212

01/11/2022 at 03:19PM

23
#51 - Louis Caruana / @louiecaruana

01/31/2016 at 04:47PM

23
#52 - Drenn / @drenn9

02/17/2016 at 11:12PM

23
#53 - ben kavanagh / @bkava

02/18/2016 at 05:28PM

23
#54 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 02:43PM

23
#55 - Ben Hill / @KaizenSoze70

10/11/2017 at 06:49PM

23
#56 - Mihai / @mihaicristiant

12/27/2018 at 01:22PM

24
#57 - Walker Boh / @walker_boh

02/01/2016 at 11:25AM

24
#58 - Andres Araya / @arayaandresfco

05/20/2016 at 01:29PM

25
#59 - あまさん / @surfce

02/03/2016 at 11:27AM

25
#60 - trbvn / @trbvntrbvn

02/10/2016 at 05:15PM