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):
25
#61 - Rubén Chavarría T. / @rchavarriat

02/19/2016 at 08:25AM

25
#62 - emblox / @emblox

02/29/2016 at 05:31AM

25
#63 - Michel Ganguin / @tinycrazyfish

03/10/2016 at 09:38AM

25
#64 - vic © / @2r2w

05/24/2016 at 06:59AM

25
#65 - Timothy Caleb Nordlo / @tnordloh

06/27/2016 at 09:57PM

25
#66 - TweetDreams / @TweetMusicians

10/09/2016 at 11:24PM

25
#67 - BlackCap / @BlackCapCoder

11/30/2016 at 11:47AM

25
#68 - Ivo Blöchliger / @aigledesalpes

08/18/2019 at 09:21PM

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

02/01/2016 at 07:20AM

26
#70 - Robert Mosher / @rcmosher

02/24/2016 at 06:41PM

27
#71 - Jeremiah Goyette / @JeremiahGoyette

08/01/2016 at 05:42AM

27
#72 - alekfed / @alek_fed

04/16/2019 at 09:50AM

27
#73 - RockerZZY / @rocker_zzy

06/20/2020 at 06:01AM

28
#74 - Blake Tereau / @BlakeTereau

02/16/2016 at 06:34PM

28
#75 - Eduardo Hashimoto / @eduhashi

01/03/2017 at 01:35PM

29
#76 - Sebastian Pardo / @sebpardo

02/18/2016 at 02:09AM

29
#77 - fzort / @fzort

02/28/2016 at 02:49PM

29
#78 - Tom / @CronutFacts

05/21/2016 at 07:36PM

29
#79 - isaneba / @isaneba

07/25/2016 at 06:04AM

29
#80 - Luke / @toy_lang_smell

01/02/2017 at 06:36AM

30
#81 - Ian Trophy / @prfrgg

01/31/2016 at 05:48PM

30
#82 - Durga Swaroop Perla / @durgaswaroop

02/03/2016 at 11:53AM

30
#83 - oscar / @zonza_mas

02/05/2016 at 02:53PM

30
#84 - William Snyders / @iam2391212

07/24/2016 at 06:52PM

30
#85 - Etienne Florent / @EtienneFlorent

11/25/2016 at 02:43PM

31
#86 - Jonathan Mast / @jonathanamast

02/24/2016 at 11:50PM

31
#87 - Piotr Madaliński / @MadalinskiPiotr

03/08/2016 at 07:27PM

31
#88 - George Angelopoulos / @g_usermod

08/04/2016 at 10:06PM

31
#89 - Brian Hall / @_bruab_

05/24/2017 at 01:28PM

32
#90 - Ryan van Rensburg / @rdvr001

07/21/2016 at 10:45AM