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 @bornintheflames:

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

127 active golfers, 502 entries

Solutions by @bornintheflames:
22
#42 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:49AM

22
#>42 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:51AM

22
#>51 - Remus Dalrymple / @bornintheflames

12/25/2023 at 10:34PM

23
#>57 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:48AM

25
#>70 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:47AM

26
#>73 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:45AM

29
#>83 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:42AM

30
#>88 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:38AM

34
#>102 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:37AM

52
#>123 - Remus Dalrymple / @bornintheflames

12/25/2023 at 10:33PM