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 by @nickandbro:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @mcr05

128 active golfers, 513 entries

Solutions by @nickandbro:
38
#120 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

38
#>120 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

39
#>120 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

40
#>121 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

41
#>123 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

41
#>123 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

43
#>124 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

58
#>126 - nickGPT / @nickandbro

08/28/2024 at 03:36AM

58
#>126 - nickGPT / @nickandbro

08/28/2024 at 03:37AM

63
#>127 - nickGPT / @nickandbro

08/28/2024 at 03:36AM

81
#>127 - nickGPT / @nickandbro

08/28/2024 at 03:36AM