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
136 remaining solutions by
signing in and submitting your own entry
#137
luffy / @raxcoi -
Score: 20 -
07/30/14 @ 10:45
:s/\$oki/\$hl/g<CR>:wq<CR>
0 comments
137 active golfers, 179 entries
Leaderboard (lowest score wins):
07/22/2014 at 10:58PM
07/22/2014 at 11:09PM
07/22/2014 at 11:27PM
07/22/2014 at 11:28PM
07/22/2014 at 11:37PM
07/23/2014 at 12:16AM
07/23/2014 at 02:04AM
07/23/2014 at 02:50AM
07/23/2014 at 04:30AM
07/23/2014 at 07:01AM
07/23/2014 at 09:59AM
07/23/2014 at 10:12AM
07/23/2014 at 11:55AM
07/23/2014 at 11:57AM
07/23/2014 at 01:44PM
07/23/2014 at 02:09PM
07/23/2014 at 02:32PM
07/23/2014 at 05:43PM
07/23/2014 at 08:35PM
07/23/2014 at 08:40PM
07/23/2014 at 08:54PM
07/23/2014 at 09:08PM
07/23/2014 at 09:44PM
07/24/2014 at 12:00AM
07/24/2014 at 03:28AM
07/24/2014 at 04:57AM
07/24/2014 at 05:43AM
07/24/2014 at 05:48AM
07/24/2014 at 06:21AM
07/24/2014 at 07:11AM