2012-05-10 36 views

cevap

46

Vimscript bir önceki satırın bir ters eğik çizgi ile başlamasını sağlayarak devam etmesine izin verir, ancak Ruby, PHP veya Bash'de bulabileceğiniz gibi bir heredoc dizesi kadar uygun değildir.

let g:myLongString='A string 
\ that has a lot of lines 
\ each beginning with a 
\ backslash to continue the previous one 
     \ and whitespace before the backslash 
     \ is ignored' 

relevant documentation on line-continuation'a bir bakın.

İlgili konular