Remove semicolons after expressions
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
Start file
var foo;
var bar = myCoolStuff();
callRemote();
foo = callTheWorld();
End file
var foo
var bar = myCoolStuff()
callRemote()
foo = callTheWorld()
View Diff
1c1
< var foo;
---
> var foo
3c3
< var bar = myCoolStuff();
---
> var bar = myCoolStuff()
5c5
< callRemote();
---
> callRemote()
7c7
< foo = callTheWorld();
---
> foo = callTheWorld()
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 261 remaining solutions by signing in and submitting your own entry
#262 Noel Alejandro / @noelrock333 - Score: 15 - 06/23/12 @ 00:03
:%s/;//<CR>:w<CR><Esc>:q<CR>
0 comments