2012-05-10 7 views

答えて

46

Vimscriptは、バックスラッシュで次の行を開始することによって前の行を続けることができますが、Ruby、PHP、またはBashのようなheredoc文字列ほど便利ではありません。

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をご覧ください。