Inner hyphens
Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.
Start file
abcdef
End file
a-b-c-d-e-f
Why are you checking the diff? There's never anything good here.
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
53 remaining solutions by
signing in and submitting your own entry
#54
Stanislav / prstad -
Score: 12 -
08/24/16 @ 14:01
qqa-<Esc>lq4@qZZ
0 comments
#55
Will / obiwan__k3n00bi -
Score: 12 -
09/03/16 @ 06:10
qqa-<Esc>wq4@qZZ
0 comments
#56
Kyouma / kyoumaJohn -
Score: 12 -
10/14/16 @ 20:37
qqa-<Esc>lq4@qZZ
0 comments
#57
Christian Rondeau / c_rondeau -
Score: 12 -
10/18/16 @ 02:06
qqa-<Esc>lq4@qZZ
0 comments
#58
Bill Ruddock / biinari -
Score: 12 -
10/25/16 @ 14:12
qqa-<Esc>lq4@qZZ
0 comments
#59
Michał Dytko / DytkoM -
Score: 12 -
12/28/16 @ 13:59
qqa-<Esc>lq4@qZZ
0 comments
#60
Gurukandhamoorthi / Gurukandhamoor1 -
Score: 12 -
08/01/17 @ 15:18
qqa-<Esc>lq4@qZZ
0 comments
#61
Saul Hardman / saulhardman -
Score: 12 -
08/14/17 @ 07:58
qqa-<Esc>lq4@qZZ
0 comments
#62
Matthieu Crapet / mcr05 -
Score: 13 -
03/12/16 @ 11:08
:s/./-&/g<CR>xZZ
0 comments
#63
Janko Jerinic / JankoJerinic -
Score: 13 -
03/26/16 @ 08:20
a-<Esc>w.w.w.w.ZZ
0 comments
#64
aisapatino / aisapatino -
Score: 13 -
03/29/16 @ 23:29
a-<Esc>w.w.w.w.ZZ
0 comments
#65
Feras / faldah -
Score: 13 -
05/01/16 @ 14:16
qqli-<Esc>lq5@qZZ
0 comments
#66
vic © / 2r2w -
Score: 13 -
05/20/16 @ 15:21
a-<Esc>qqw.q3@qZZ
0 comments
#67
Jonathan / jmcphers -
Score: 14 -
08/16/16 @ 19:56
:s/./&-/g<CR>$xZZ
0 comments
Created by: udioica
67 active golfers, 107 entries
Leaderboard (lowest score wins):
11
#1 - Urtica dioica / udioica
03/13/2016 at 01:08AM
11
#2 - Hao Chen / Chen_Hao
03/13/2016 at 04:08PM
11
#3 - John Braxler / braxler
03/14/2016 at 02:45PM
11
#4 - Corsin Pfister / corsin_pfister
03/24/2016 at 07:56PM
11
#5 - Alan Turing / alantrng
11/14/2016 at 07:12AM
11
#6 - Saki Gw / Sakigw
11/25/2016 at 09:34PM
11
#7 - Jeff Kelly / cheibriados
06/03/2017 at 06:48AM
11
#8 - Turkey Man / lvturkeyman
11/28/2017 at 05:04PM
12
#9 - coryknapp / coryknapp
03/12/2016 at 01:25AM
12
#10 - James / Dronak
03/12/2016 at 01:41AM
12
#11 - Tim Chase / gumnos
03/12/2016 at 01:44AM
12
#12 - Jon Krause / jkrause314
03/12/2016 at 02:42AM
12
#13 - Assaf Lavie / AssafLavie
03/12/2016 at 05:35AM
12
#14 - Dmitriy Olshevskiy / olshevskiy_dv
03/12/2016 at 06:18AM
12
#15 - Smylers / Smylers2
03/12/2016 at 09:36AM
12
#16 - glepha / glepha_vim
03/12/2016 at 10:02AM
12
#17 - Andreas Carben / meiner_eins
03/12/2016 at 10:21AM
12
#18 - M S / b1790037
03/12/2016 at 01:13PM
12
#19 - Petro Тrouq / zulolosi
03/12/2016 at 05:36PM
12
#20 - Lifepillar / lifepillar
03/12/2016 at 10:28PM
12
#21 - Trey Thomas / treythomas123
03/12/2016 at 11:46PM
12
#22 - Wistan Chou / wisty97
03/13/2016 at 05:20AM
12
#23 - Anoop Kumar / anooplive
03/13/2016 at 06:23AM
12
#24 - Carlos A Henríquez Q / lagunex
03/13/2016 at 12:18PM
12
#25 - Artur Taranchiev / ewokru
03/13/2016 at 12:26PM
12
#26 - Kai Yuan / kentyuan
03/13/2016 at 08:08PM
12
#27 - Mister Knister / vimgolf_ctrl_x
03/14/2016 at 06:28AM
12
#28 - Walker Boh / walker_boh
03/14/2016 at 09:21AM
12
#29 - Dimitar Dimitrov / kurkale6ka
03/14/2016 at 10:48AM
12
#30 - Yahyalexandre33 / yahyalexandre33
03/15/2016 at 06:21AM
12
#31 - lucas / rept357
03/15/2016 at 03:01PM
12
#32 - David Jr / DmcdonnelJr
03/15/2016 at 10:12PM
12
#33 - PAUL RUSSO / paulie_ru
03/16/2016 at 01:12PM
12
#34 - Rubén Chavarría T. / rchavarriat
03/17/2016 at 08:27AM
12
#35 - Filippos K. / filkaris
03/18/2016 at 03:59PM
12
#36 - Jonathan Taylor / Jonyonson
03/20/2016 at 04:46AM
12
#37 - Jason Choi / joyous_jason
03/22/2016 at 11:08AM
12
#38 - Robert Mosher / rcmosher
03/24/2016 at 04:57PM
12
#39 - Philiphone / Philiphone
03/26/2016 at 02:15PM
12
#40 - Martin / delyat
03/30/2016 at 02:27PM
12
#41 - Dinesh Bhosale / MrDineshBhosale
03/30/2016 at 04:36PM
12
#42 - lilach adir / leelaRed
04/03/2016 at 11:27AM
12
#43 - Chenut Ludovic / 7Brwa7
04/07/2016 at 11:30AM
12
#44 - E Both / enboth
04/17/2016 at 05:18PM
12
#45 - Jake Griffin / J4K0_G
04/22/2016 at 11:37PM
12
#46 - tPenguinLTG / tpenguinltg
04/27/2016 at 09:21PM
12
#47 - Simon Pugnet / polaris64
04/27/2016 at 10:12PM
12
#48 - Mateusz Dereniowski / mderenio
05/04/2016 at 09:08PM
12
#49 - John Goes / johnwgoes
05/09/2016 at 03:23PM
12
#50 - Ram Tamtam / ramtamtamtam
07/01/2016 at 09:21AM
12
#51 - Benedikt Breinbauer / benebun
07/24/2016 at 06:15PM
12
#52 - Sam Hammer / samhammer325
07/30/2016 at 09:35PM
12
#53 - Jeremiah Goyette / JeremiahGoyette
08/03/2016 at 06:41AM
12
#54 - Stanislav / prstad
08/24/2016 at 02:01PM
12
#55 - Will / obiwan__k3n00bi
09/03/2016 at 06:10AM
12
#56 - Kyouma / kyoumaJohn
10/14/2016 at 08:37PM
12
#57 - Christian Rondeau / c_rondeau
10/18/2016 at 02:06AM
12
#58 - Bill Ruddock / biinari
10/25/2016 at 02:12PM
12
#59 - Michał Dytko / DytkoM
12/28/2016 at 01:59PM
12
#60 - Gurukandhamoorthi / Gurukandhamoor1
08/01/2017 at 03:18PM
12
#61 - Saul Hardman / saulhardman
08/14/2017 at 07:58AM
13
#62 - Matthieu Crapet / mcr05
03/12/2016 at 11:08AM
13
#63 - Janko Jerinic / JankoJerinic
03/26/2016 at 08:20AM
13
#64 - aisapatino / aisapatino
03/29/2016 at 11:29PM
13
#65 - Feras / faldah
05/01/2016 at 02:16PM
13
#66 - vic © / 2r2w
05/20/2016 at 03:21PM
14
#67 - Jonathan / jmcphers
08/16/2016 at 07:56PM