Thursday, July 29, 2010

RE: Vim scripting: splitting long string onto multiple lines?

> When scripting in vim, is it possible to put a long string
> into multiple lines for better readability?

Use the '.' concatenation operator:
let a = "long string" .
\ "continue the string"

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: