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 83 remaining solutions by signing in and submitting your own entry
#84 adi li / guessimtoolate - Score: 35 - 01/31/16 @ 15:58
/im<CR>ceolume<C-C><C-C>:10<CR><C-X>jlr0jhv/[<CR>dJhhDZZ

0 comments

#85 Michael Foley / m1foley - Score: 35 - 01/31/16 @ 16:12
/im<CR>cwolume<Esc>/1<CR>R20<C-O>j0<Esc>jd/"<CR>nlvjhxZZ

0 comments

#86 Cristian Lupașcu / clupasq - Score: 35 - 02/02/16 @ 14:17
/im<CR>cwolume<Esc>/9<CR><C-X>j<C-X><C-X>/[<CR>yi[da{"0Pd$ZZ

0 comments

#87 Gerald Tilma / GeraldTilma - Score: 35 - 02/04/16 @ 01:31
/im<CR>cwolume<Esc>10G<C-X>j<C-X><C-X>jd/[<CR>dwA<BS><BS><Esc>jddZZ

0 comments

#88 Hans Yelek / hans_yelek - Score: 35 - 01/13/17 @ 23:00
$yiw/V<CR>R<C-R>0"<Esc>/-<CR><C-X>jlr0/=<CR>ya"da{"0pxZZ

0 comments

#89 damon kelley / damonkelley - Score: 36 - 01/31/16 @ 20:32
/im<CR>ceolume<Esc>10G<C-X>j<C-X><C-X>jd/[<CR>xxf r<CR>dj:wq<CR>

0 comments

#90 Etienne Tremel / etiennetremel - Score: 36 - 02/06/16 @ 16:45
6<CR>ficwolume<Esc>3<CR>f9<C-X>jlr0jvjjt"df vjhdZZ

0 comments

#91 Tj / yrddy - Score: 36 - 03/02/16 @ 02:12
/V<CR>yWnvwhp/-<CR><C-X>$jr03jwwdWkkvpxjVjjdZZ

0 comments

#92 iNaKoll / iNaKoll - Score: 36 - 05/08/16 @ 14:48
/im<CR>cwolume<Esc>/1<CR><C-X>jlr0/"<CR>ya"2kPDj3ddZZ

0 comments

#93 James / Dronak - Score: 36 - 01/16/17 @ 15:48
/im<CR>cwolume<Esc>/-<CR><C-X>jlr0jDJDJdt"ElDjddZZ

0 comments

#94 Hearse Pileup / HearsePileup - Score: 37 - 01/31/16 @ 20:30
/im<CR>ceolume<C-C><C-C><C-C><C-C>:10<CR><C-X>jlr0jhv/[<CR>dJhhDZZ

0 comments

#95 Samuel Walladge / srwalladge - Score: 37 - 02/14/16 @ 23:22
/im<CR>cwolume<Esc>/B<CR><C-X>/2<CR>r0j4J6xxxF"dF{:wq<CR>

0 comments

#96 danny Lazarow / dannylazarow - Score: 37 - 04/30/16 @ 21:17
/im<CR>ceolume<C-C><C-C><C-C><C-C>:10<CR><C-X>jlr0jhv/[<CR>dJhhDZZ

0 comments

#97 Espen H. Kristensen / bgosl - Score: 38 - 02/03/16 @ 14:55
/vi<CR>cwVolume<Esc>03j<C-X>j2<C-X>jx2j3edt 2kpjd2jZZ

0 comments

#98 Constantine / ConstantineHatz - Score: 38 - 09/27/16 @ 21:40
/Vi<CR>cwVolume<Esc>/-<CR><C-X>/2<CR>r0jvjjlllx$xxjddZZ

0 comments

#99 Ryan Glassett / rollsavager - Score: 40 - 02/02/16 @ 20:07
/Vi<CR>cwVolume<Esc>/19<CR><C-X>/2<CR>r0/16<CR>da"2kPjda}xZZ

0 comments

#100 aisapatino / aisapatino - Score: 41 - 02/08/16 @ 01:11
/im<CR>ceolume<Esc>/19<CR>ce20<Esc>jlr0jxJDJdt"%ElDJDZZ

0 comments

#101 Denys Zadorozhnyi / greenden - Score: 43 - 06/16/16 @ 13:33
/Vim<CR>ciwVolume<Esc>/1<CR>ciw20<Esc>jlr0jd/"<CR>f"ld$jddZZ

0 comments

#102 Jakob Schöttl / jschoettl - Score: 58 - 02/01/16 @ 03:54
/V<CR>nceVolume<Esc>/1<CR>ce20<Esc>jlr0jC"dmix:CARD=0,FORMAT=S16"<Esc>j3ddZZ

0 comments

#103 Dominik / domschrei - Score: 63 - 05/18/16 @ 22:40
6j$dbiVolume<Esc>jjjhi<BS><BS>20<Esc>jlR0<Esc>2jdddwxxd^i<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Esc>$xx<Esc>jddZZ

0 comments

#104 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

104 active golfers, 390 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 / ricardolimaapps

03/03/2016 at 10:10PM

22
#21 - Hao Chen / Chen_Hao

03/10/2016 at 05:16PM

22
#22 - Jan Bundesmann / ixjab

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

22
#31 - John Goes / johnwgoes

05/04/2016 at 12:30PM

22
#32 - Saki Gw / Sakigw

05/23/2016 at 03:43PM

22
#33 - John Doe Sr. / johndoe67890543

05/29/2016 at 11:47PM

22
#34 - Yudi Matsuzake / yudimatsuzake

06/07/2016 at 03:38PM

22
#35 - Martin Tõnusoo / martintonusoo

08/28/2016 at 05:25PM

22
#36 - jdupont655 / jdupont655

09/02/2016 at 02:23PM

22
#37 - Stephen Aument / saument

09/04/2016 at 12:53AM

22
#38 - trx / trxdbg

10/13/2016 at 07:57AM

22
#39 - Zhihong Liu / pieapple03

02/27/2017 at 01:43PM

22
#40 - sijinyuan / sijinyuan

02/28/2017 at 02:26AM

22
#41 - Daniel / Daniel00288663

04/18/2017 at 02:11PM

23
#42 - Louis Caruana / louiecaruana

01/31/2016 at 04:47PM

23
#43 - Drenn / drenn9

02/17/2016 at 11:12PM

23
#44 - ben kavanagh / bkava

02/18/2016 at 05:28PM

23
#45 - Ram Tamtam / ramtamtamtam

06/22/2016 at 02:43PM

24
#46 - Walker Boh / walker_boh

02/01/2016 at 11:25AM

24
#47 - Andres Araya / arayaandresfco

05/20/2016 at 01:29PM

25
#48 - あまさん / surfce

02/03/2016 at 11:27AM

25
#49 - trbvn / trbvntrbvn

02/10/2016 at 05:15PM

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

02/19/2016 at 08:25AM

25
#51 - emblox / emblox

02/29/2016 at 05:31AM

25
#52 - Michel Ganguin / tinycrazyfish

03/10/2016 at 09:38AM

25
#53 - vic © / 2r2w

05/24/2016 at 06:59AM

25
#54 - tnordloh / tnordloh

06/27/2016 at 09:57PM

25
#55 - TweetDreams / TweetMusicians

10/09/2016 at 11:24PM

25
#56 - BlackCap / BlackCapCoder

11/30/2016 at 11:47AM

26
#57 - Assaf Lavie / AssafLavie

02/01/2016 at 07:20AM

26
#58 - Robert Mosher / rcmosher

02/24/2016 at 06:41PM

27
#59 - Jeremiah Goyette / JeremiahGoyette

08/01/2016 at 05:42AM

28
#60 - Blake Tereau / BlakeTereau

02/16/2016 at 06:34PM

28
#61 - Eduardo Hashimoto / eduhashi

01/03/2017 at 01:35PM

29
#62 - Sebastian Pardo / sebpardo

02/18/2016 at 02:09AM

29
#63 - fzort / fzort

02/28/2016 at 02:49PM

29
#64 - Tom / CronutFacts

05/21/2016 at 07:36PM

29
#65 - isaneba / isaneba

07/25/2016 at 06:04AM

29
#66 - Luke / toy_lang_smell

01/02/2017 at 06:36AM

30
#67 - Ian Trophy / prfrgg

01/31/2016 at 05:48PM

30
#68 - Durga Swaroop Perla / durgaswaroop

02/03/2016 at 11:53AM

30
#69 - oscar / zonza_mas

02/05/2016 at 02:53PM

30
#70 - William Snyders / iam2391212

07/24/2016 at 06:52PM

30
#71 - Etienne Florent / EtienneFlorent

11/25/2016 at 02:43PM

31
#72 - Jonathan Mast / jonathanamast

02/24/2016 at 11:50PM

31
#73 - Piotr Madaliński / MadalinskiPiotr

03/08/2016 at 07:27PM

31
#74 - George Angelopoulos / g_usermod

08/04/2016 at 10:06PM

32
#75 - Ryan van Rensburg / rdvr001

07/21/2016 at 10:45AM

32
#76 - Миша Сорокин / rafmikovi4

04/14/2017 at 11:03AM

33
#77 - Clémence / Clemence_Neoxia

04/13/2016 at 08:18AM

34
#78 - Sebastian / soapsurfer

01/31/2016 at 10:36AM

34
#79 - Dmitriy Olshevskiy / olshevskiy_dv

01/31/2016 at 07:35PM

34
#80 - Northern Floats / northernfloats

02/27/2016 at 01:06PM

34
#81 - Chenut Ludovic / 7Brwa7

03/31/2016 at 08:38PM

34
#82 - Matteo Signer / MatteoSigner

04/13/2016 at 06:43AM

34
#83 - Oliver Christ / 0liverChrist

07/12/2016 at 10:12PM

35
#84 - adi li / guessimtoolate

01/31/2016 at 03:58PM

35
#85 - Michael Foley / m1foley

01/31/2016 at 04:12PM

35
#86 - Cristian Lupașcu / clupasq

02/02/2016 at 02:17PM

35
#87 - Gerald Tilma / GeraldTilma

02/04/2016 at 01:31AM

35
#88 - Hans Yelek / hans_yelek

01/13/2017 at 11:00PM

36
#89 - damon kelley / damonkelley

01/31/2016 at 08:32PM

36
#90 - Etienne Tremel / etiennetremel

02/06/2016 at 04:45PM

36
#91 - Tj / yrddy

03/02/2016 at 02:12AM

36
#92 - iNaKoll / iNaKoll

05/08/2016 at 02:48PM

36
#93 - James / Dronak

01/16/2017 at 03:48PM

37
#94 - Hearse Pileup / HearsePileup

01/31/2016 at 08:30PM

37
#95 - Samuel Walladge / srwalladge

02/14/2016 at 11:22PM

37
#96 - danny Lazarow / dannylazarow

04/30/2016 at 09:17PM

38
#97 - Espen H. Kristensen / bgosl

02/03/2016 at 02:55PM

38
#98 - Constantine / ConstantineHatz

09/27/2016 at 09:40PM

40
#99 - Ryan Glassett / rollsavager

02/02/2016 at 08:07PM

41
#100 - aisapatino / aisapatino

02/08/2016 at 01:11AM

43
#101 - Denys Zadorozhnyi / greenden

06/16/2016 at 01:33PM

58
#102 - Jakob Schöttl / jschoettl

02/01/2016 at 03:54AM

63
#103 - Dominik / domschrei

05/18/2016 at 10:40PM

82
#104 - K Aravind Kumar / ezbi_124

02/06/2016 at 05:55PM