Change name of a variable
Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.
Start file
var $oki = "value";
End file
var $hl = "value";
1c1
< var $oki = "value";
---
> var $hl = "value";
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
86 remaining solutions by
signing in and submitting your own entry
#87
Carlos A Henríquez Q / lagunex -
Score: 9 -
01/18/15 @ 15:49
2wcwhl<Esc>ZZ
0 comments
#88
Cody Reichert / CodyReichert -
Score: 9 -
01/19/15 @ 04:41
2w3shl<Esc>ZZ
0 comments
#89
SilentFl / Silent_Fl -
Score: 9 -
01/27/15 @ 15:34
focwhl<Esc>ZZ
0 comments
#90
uɐɥlnƃ uɐɯɹǝ / egulhan -
Score: 9 -
03/15/15 @ 17:38
focwhl<Esc>ZZ
0 comments
#91
Adrien Fabre / statox42 -
Score: 9 -
06/04/15 @ 20:13
focehl<Esc>ZZ
0 comments
#92
Douglas Detoni / douglas_detoni -
Score: 9 -
06/22/15 @ 12:52
2w3shl<Esc>ZZ
0 comments
#93
Kiet Nguyen / kietnguyen86 -
Score: 9 -
09/29/15 @ 14:53
2wcwhl<Esc>ZZ
0 comments
#94
James Potter / JJPotterkowski -
Score: 9 -
10/31/15 @ 22:40
5lcwhl<Esc>ZZ
0 comments
#95
Walker Boh / walker_boh -
Score: 9 -
11/18/15 @ 09:30
focwhl<Esc>ZZ
0 comments
#96
Jon Krause / jkrause314 -
Score: 9 -
01/14/16 @ 17:53
5 3shl<Esc>ZZ
0 comments
#97
Ralf Haffa / fatslo -
Score: 9 -
02/27/16 @ 23:12
focehl<Esc>ZZ
0 comments
#98
Yahyalexandre33 / yahyalexandre33 -
Score: 9 -
03/17/16 @ 11:15
focwhl<Esc>ZZ
0 comments
#99
George Angelopoulos / g_usermod -
Score: 9 -
08/05/16 @ 14:47
focwhl<Esc>ZZ
0 comments
#100
Peter Brynza / v3_1 -
Score: 9 -
08/28/16 @ 20:09
focwhl<Esc>ZZ
0 comments
#101
Edouard Piette / EdPiette -
Score: 9 -
05/30/17 @ 11:54
focwhl<Esc>ZZ
0 comments
#102
Gurukandhamoorthi / Gurukandhamoor1 -
Score: 9 -
08/24/17 @ 15:55
focwhl<Esc>ZZ
0 comments
#103
Turkey Man / lvturkeyman -
Score: 9 -
12/07/17 @ 10:14
2wcehl<Esc>ZZ
0 comments
#104
Austin Ware / AustinWare17 -
Score: 9 -
03/13/18 @ 04:55
2wcwhl<Esc>ZZ
0 comments
#105
Ravi S Sinha / ambidextrousTx -
Score: 10 -
07/23/14 @ 02:11
t=cT$hl<Esc>ZZ
0 comments
#106
Alexandre Ignjatovic / bankair -
Score: 11 -
07/23/14 @ 05:56
focwhl<Esc>:wq<CR>
0 comments
#107
Suhail Patel / suhailpatel -
Score: 18 -
10/13/14 @ 21:03
:s/oki/hl/g<CR>:q<BS>wq<CR>
0 comments
#108
luffy / raxcoi -
Score: 20 -
07/30/14 @ 10:45
:s/\$oki/\$hl/g<CR>:wq<CR>
0 comments
Created by: patricknegri
108 active golfers, 136 entries
Leaderboard (lowest score wins):
9
#1 - Carlos López / morrizon
07/22/2014 at 10:58PM
9
#2 - Ricardo M. Vilchis / ajkaanbal
07/22/2014 at 11:09PM
9
#3 - Tim Chase / gumnos
07/22/2014 at 11:27PM
9
#4 - James / Dronak
07/22/2014 at 11:28PM
9
#5 - Urtica dioica / udioica
07/22/2014 at 11:37PM
9
#6 - Ben Turner / phantomwhale
07/23/2014 at 12:16AM
9
#7 - Amit Verma / amitv12
07/23/2014 at 02:04AM
9
#8 - Caek / Caek_
07/23/2014 at 02:50AM
9
#9 - John Meisner / jmeisned
07/23/2014 at 04:30AM
9
#10 - Saher El-Neklawy / saherneklawy
07/23/2014 at 07:01AM
9
#11 - Pete Johns / johnsyweb
07/23/2014 at 09:59AM
9
#12 - Michi Loro / michiloro
07/23/2014 at 10:12AM
9
#13 - Tui Kiken / TuiKiken
07/23/2014 at 11:55AM
9
#14 - Dmitry Teslenko / krab_mozga
07/23/2014 at 11:57AM
9
#15 - omesh / panditaomesh
07/23/2014 at 01:44PM
9
#16 - John Braxler / braxler
07/23/2014 at 02:09PM
9
#17 - João Carvalho / joaoCarvas
07/23/2014 at 02:32PM
9
#18 - Petro Тrouq / zulolosi
07/23/2014 at 05:43PM
9
#19 - Alex K / alex_kononovich
07/23/2014 at 08:35PM
9
#20 - Robert Siemieniec / rsiemieniec
07/23/2014 at 08:40PM
9
#21 - Yann Moisan / YannMoisan
07/23/2014 at 08:54PM
9
#22 - Kelsey Ando / d_chan42
07/23/2014 at 09:08PM
9
#23 - Pedro Santos / pedrosans
07/23/2014 at 09:44PM
9
#24 - Bambu / bambumandinga
07/24/2014 at 12:00AM
9
#25 - w1zeman1p / wizemanip
07/24/2014 at 03:28AM
9
#26 - RobertT / techrt2050
07/24/2014 at 04:57AM
9
#27 - HellBentSouthernGent / ChiefThis
07/24/2014 at 05:43AM
9
#28 - joomy / cattheory
07/24/2014 at 05:48AM
9
#29 - Milind Ganjoo / mganjoo
07/24/2014 at 06:21AM
9
#30 - Kai Wood / kwd_io
07/24/2014 at 07:11AM
9
#31 - Siddhanathan S. / siddhanathan
07/24/2014 at 12:25PM
9
#32 - Heath Patterson / HeathPatterson
07/24/2014 at 08:06PM
9
#33 - Kai Yuan / kentyuan
07/25/2014 at 09:25AM
9
#34 - Chris Yuen / kizzx2
07/26/2014 at 12:01PM
9
#35 - Zapata / Incredible_JFP
07/27/2014 at 08:15AM
9
#36 - Ram Tamtam / ramtamtamtam
07/28/2014 at 10:17AM
9
#37 - vimgolf copycat / vimgolf_copycat
07/28/2014 at 04:08PM
9
#38 - Joseph Siddall / jbsiddall
07/30/2014 at 05:39PM
9
#39 - Eduardo / earada
07/31/2014 at 11:49AM
9
#40 - Joakim Hansen / gnofs
07/31/2014 at 12:34PM
9
#41 - Song, Youngjun / Mastojun
08/01/2014 at 07:36AM
9
#42 - daveseibert / daveseibert
08/02/2014 at 03:18AM
9
#43 - Slobodan Mišković / slobomiskovic
08/03/2014 at 06:08AM
9
#44 - madka / lachrimae_pavan
08/03/2014 at 04:45PM
9
#45 - Patrick Pitoscia / Patrick03960431
08/03/2014 at 07:20PM
9
#46 - Dominik Szerszeń / DominikSze
08/04/2014 at 09:37AM
9
#47 - Oliver Christ / 0liverChrist
08/04/2014 at 09:27PM
9
#48 - Bednarik Boldizsar / bboldi
08/05/2014 at 09:11AM
9
#49 - Ky Statham / ijustwannacode
08/07/2014 at 09:08PM
9
#50 - Daniel Low / deniallow
08/07/2014 at 11:32PM
9
#51 - Aregon Digital / AregonDigital
08/09/2014 at 01:10AM
9
#52 - LC / leeren
08/09/2014 at 09:44AM
9
#53 - Florian Lücke / CannibalGorilla
08/10/2014 at 11:40AM
9
#54 - Bobby Matson / bomatson
08/12/2014 at 03:42PM
9
#55 - Vim Fandango / VimFandango
08/12/2014 at 07:31PM
9
#56 - Tj / yrddy
08/13/2014 at 06:25AM
9
#57 - Koji Wakayama / wakayamakoji
08/13/2014 at 10:25PM
9
#58 - Kentaro Wakayama / wakayamakentaro
08/13/2014 at 10:26PM
9
#59 - basha / bashaalex
08/15/2014 at 03:27PM
9
#60 - ———đίxίє—flαтlίиє——— / _dixie_flatline
08/15/2014 at 06:27PM
9
#61 - Pepe / GomTvIneluki
08/15/2014 at 10:32PM
9
#62 - coryknapp / coryknapp
08/18/2014 at 04:32AM
9
#63 - Harald H / metellius
08/20/2014 at 09:55AM
9
#64 - AC / quadface
08/21/2014 at 02:46PM
9
#65 - Bill Booth / ohiopyle
08/27/2014 at 07:23AM
9
#66 - Some(coder) / hauleth
09/02/2014 at 10:12PM
9
#67 - Justin Knag / justinknag
09/03/2014 at 04:14PM
9
#68 - Dario Avitabile / tutticapaci
09/03/2014 at 09:27PM
9
#69 - George C Tsiagalakis / gts_tw
09/05/2014 at 01:34PM
9
#70 - Kristof Vannotten / kristofv
09/08/2014 at 10:42AM
9
#71 - Carlos Solares / cas
09/08/2014 at 03:24PM
9
#72 - Jeff / just_geophree
09/13/2014 at 08:42PM
9
#73 - Prasanna N / SupertrampPras
09/19/2014 at 10:29AM
9
#74 - Eric Kever / codeoverlode
09/30/2014 at 03:56AM
9
#75 - Jan Sedivy / jan_sedivy
09/30/2014 at 09:58AM
9
#76 - Violette Vanadium / ViolettVanadium
10/08/2014 at 02:50PM
9
#77 - Jose Gutierrez / Jogusa
10/11/2014 at 02:21PM
9
#78 - George Crabtree / supercrabtree
10/17/2014 at 10:09PM
9
#79 - Sabiki94@ブルスクの人 / _jptomoya
10/18/2014 at 10:27AM
9
#80 - eBrnd / eBrnd
11/02/2014 at 09:20PM
9
#81 - Mauro Persano / fzort
11/22/2014 at 03:02PM
9
#82 - Rasmus P / rasmup
11/30/2014 at 02:19PM
9
#83 - Elizabeth / sprinkles418
12/19/2014 at 12:58AM
9
#84 - r. / rmarvie
12/19/2014 at 10:20PM
9
#85 - Alvin Samuelsson / Avaconde
12/27/2014 at 06:35PM
9
#86 - Jake Eskel / JakeEskel
01/07/2015 at 03:36AM
9
#87 - Carlos A Henríquez Q / lagunex
01/18/2015 at 03:49PM
9
#88 - Cody Reichert / CodyReichert
01/19/2015 at 04:41AM
9
#89 - SilentFl / Silent_Fl
01/27/2015 at 03:34PM
9
#90 - uɐɥlnƃ uɐɯɹǝ / egulhan
03/15/2015 at 05:38PM
9
#91 - Adrien Fabre / statox42
06/04/2015 at 08:13PM
9
#92 - Douglas Detoni / douglas_detoni
06/22/2015 at 12:52PM
9
#93 - Kiet Nguyen / kietnguyen86
09/29/2015 at 02:53PM
9
#94 - James Potter / JJPotterkowski
10/31/2015 at 10:40PM
9
#95 - Walker Boh / walker_boh
11/18/2015 at 09:30AM
9
#96 - Jon Krause / jkrause314
01/14/2016 at 05:53PM
9
#97 - Ralf Haffa / fatslo
02/27/2016 at 11:12PM
9
#98 - Yahyalexandre33 / yahyalexandre33
03/17/2016 at 11:15AM
9
#99 - George Angelopoulos / g_usermod
08/05/2016 at 02:47PM
9
#100 - Peter Brynza / v3_1
08/28/2016 at 08:09PM
9
#101 - Edouard Piette / EdPiette
05/30/2017 at 11:54AM
9
#102 - Gurukandhamoorthi / Gurukandhamoor1
08/24/2017 at 03:55PM
9
#103 - Turkey Man / lvturkeyman
12/07/2017 at 10:14AM
9
#104 - Austin Ware / AustinWare17
03/13/2018 at 04:55AM
10
#105 - Ravi S Sinha / ambidextrousTx
07/23/2014 at 02:11AM
11
#106 - Alexandre Ignjatovic / bankair
07/23/2014 at 05:56AM
18
#107 - Suhail Patel / suhailpatel
10/13/2014 at 09:03PM
20
#108 - luffy / raxcoi
07/30/2014 at 10:45AM