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):
22
#1 - Urtica dioica / @udioica

01/31/2016 at 10:46AM

22
#2 - Alan Kang / @alankang

01/31/2016 at 12:04PM

22
#3 - Jon Krause / @jkrause314

01/31/2016 at 10:05PM

22
#4 - John Braxler / @braxler

02/01/2016 at 11:08PM

22
#5 - Petro Тrouq / @zulolosi

02/02/2016 at 12:22AM

22
#6 - Daniel Suh / @18kehops

02/02/2016 at 02:24PM

22
#7 - "Smylers" / @Smylers2

02/02/2016 at 04:41PM

22
#8 - Thijs van den Anker / @thijsvdanker

02/04/2016 at 08:23PM

22
#9 - Guillaume Seren / @guillaumeseren

02/10/2016 at 01:25PM

22
#10 - John Smith / @literacyisgood

02/10/2016 at 07:00PM

22
#11 - Austin Wood / @indiesquidge

02/11/2016 at 07:45AM

22
#12 - James Burns / @James_Ian_Burns

02/11/2016 at 03:00PM

22
#13 - Roberto Carraretto / @robcarraretto

02/13/2016 at 05:59PM

22
#14 - Mathias Andersson / @Wraul

02/13/2016 at 06:47PM

22
#15 - Ethan Muller / @ethanmuller

02/17/2016 at 05:51PM

22
#16 - Piotr Kowenzowski / @sacherus

02/19/2016 at 02:11PM

22
#17 - Carlos A Henríquez Q / @lagunex

02/24/2016 at 01:31AM

22
#18 - Xiaocan Li / @XiaocanLi

02/26/2016 at 10:26PM

22
#19 - Matthew Desjardins / @Desjardins_M

03/01/2016 at 03:26PM

22
#20 - Ricardo Lima / @ricponteslima

03/03/2016 at 10:10PM

22
#21 - Hao Chen / @Chen_Hao

03/10/2016 at 05:16PM

22
#22 - Jan Bundesmann / @janbundesmann

03/11/2016 at 12:23PM

22
#23 - Yahyalexandre33 / @yahyalexandre33

03/15/2016 at 02:47AM

22
#24 - Janko Jerinic / @JankoJerinic

03/26/2016 at 09:01AM

22
#25 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 03:48PM

22
#26 - CM Déjardin ن / @CMDej

04/13/2016 at 12:09PM

22
#27 - E Both / @enboth

04/13/2016 at 08:14PM

22
#28 - S O / @strangelooperer

04/17/2016 at 08:01PM

22
#29 - Vaughn Cato / @vaughncato

04/22/2016 at 02:19PM

22
#30 - Håkon Bråten / @h_braten

04/27/2016 at 07:46PM