2012-05-10 19 views

Respuesta

46

Vimscript permite la continuación de la línea anterior iniciando la siguiente con una barra diagonal inversa, pero no es tan conveniente como una cadena heredoc como la que se encuentra en Ruby, PHP o Bash.

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' 

Tener un vistazo a la relevant documentation on line-continuation.