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):
24
#61 - Andres Araya / @arayaandresfco

05/20/2016 at 01:29PM

25
#62 - あまさん / @surfce

02/03/2016 at 11:27AM

25
#63 - trbvn / @trbvntrbvn

02/10/2016 at 05:15PM

25
#64 - Rubén Chavarría T. / @rchavarriat

02/19/2016 at 08:25AM

25
#65 - emblox / @emblox

02/29/2016 at 05:31AM

25
#66 - Michel Ganguin / @tinycrazyfish

03/10/2016 at 09:38AM

25
#67 - vic © / @2r2w

05/24/2016 at 06:59AM

25
#68 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 09:57PM

25
#69 - TweetDreams / @TweetMusicians

10/09/2016 at 11:24PM

25
#70 - BlackCap / @BlackCapCoder

11/30/2016 at 11:47AM

25
#71 - Ivo Blöchliger / @aigledesalpes

08/18/2019 at 09:21PM

26
#72 - we’re going to need a bigger bot / @assaflavie

02/01/2016 at 07:20AM

26
#73 - Robert Mosher / @rcmosher

02/24/2016 at 06:41PM

27
#74 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 05:42AM

27
#75 - alekfed / @alek_fed

04/16/2019 at 09:50AM

27
#76 - RockerZZY / @rocker_zzy

06/20/2020 at 06:01AM

28
#77 - Blake Tereau / @BlakeTereau

02/16/2016 at 06:34PM

28
#78 - Eduardo Hashimoto / @eduhashi

01/03/2017 at 01:35PM

29
#79 - Sebastian Pardo / @sebpardo

02/18/2016 at 02:09AM

29
#80 - fzort / @fzort

02/28/2016 at 02:49PM

29
#81 - Tom / @CronutFacts

05/21/2016 at 07:36PM

29
#82 - isaneba / @isaneba

07/25/2016 at 06:04AM

29
#83 - Luke / @toy_lang_smell

01/02/2017 at 06:36AM

30
#84 - Ian Trophy / @prfrgg

01/31/2016 at 05:48PM

30
#85 - Durga Swaroop Perla / @durgaswaroop

02/03/2016 at 11:53AM

30
#86 - oscar / @zonza_mas

02/05/2016 at 02:53PM

30
#87 - William Snyders / @iam2391212

07/24/2016 at 06:52PM

30
#88 - Etienne Florent / @EtienneFlorent

11/25/2016 at 02:43PM

31
#89 - Jonathan Mast / @jonathanamast

02/24/2016 at 11:50PM

31
#90 - Piotr Madaliński / @MadalinskiPiotr

03/08/2016 at 07:27PM