I'm trying to insert a filename into text as below:
but I've the following errors:
E116: Invalid arguments for function expand(
E15: Invalid expression: expand(
Why this doesn't work?
What's most surprising thing is that it works when using single-quote instead, e.g.:
So I'm trying to understand:
- Is there any differences between using double-quotes or single-quotes? If so, what kind?
I'm using Vim v7.4.