Does Vimscript allow multi-line strings?
The python and ruby commands allow the format: :python << EOF
Can you do anything similar with strings?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Vimscript does allow continuation of the previous line by starting the next with a backslash, but that isn’t quite as convenient as a heredoc string such as you would find in Ruby, PHP, or Bash.
Have a look at the relevant documentation on line-continuation.