What’s the difference between single ('
) and double ("
) quotes in Vim? Does it make speed differences? Is it better to use one or another when running functions inside it? Does it matter at all?
I’m interested specifically in their use in the .vimrc
file.
I’m asking because I find people use both in the same thing, and I’m wondering what are the differences. I tried to Google this, but wasn’t able to find anything.
:if
conditions with ternary operator, cycles withmap()
/filter()
, usinglet [a,b,c]=[…]
in place of threelet
s. – Rapid:if
conditions that are always true or false during a single run highly benefit from generating a function where unnecessary branches are removed). – Rapid