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 127 remaining solutions by signing in and submitting your own entry
#128 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

128 active golfers, 513 entries

Leaderboard (lowest score wins):
40
#121 - Ryan Glassett / @rollsavager

02/02/2016 at 08:07PM

41
#122 - aisapatino / @aisapatino

02/08/2016 at 01:11AM

41
#123 - Jurica / @Jurica34581259

11/16/2018 at 05:21PM

43
#124 - Denys Zadorozhnyi / @greenden

06/16/2016 at 01:33PM

58
#125 - Jakob Schöttl / @jschoettl

02/01/2016 at 03:54AM

58
#126 - ubaldot / @ubaldot

03/24/2024 at 09:14AM

63
#127 - Dominik / @domschrei

05/18/2016 at 10:40PM

82
#128 - K Aravind Kumar / @ezbi_124

02/06/2016 at 05:55PM