Hi,

On 10/22/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:

 By the way: Is there a way to "puts" more than a single line?
 Something like an HERE-doc?

 :h <permutations of 'here-doc'>

 gives me nothing...


You can use any one of the following methods to add/put more than
a single line:

-----------------------------------
   0append
# Filename:
# Description:
# Author:
# Last Modified:
.
-----------------------------------

-----------------------------------
   let t = ["# Filename:",
               \ "# Description:",
               \ "# Author:",
               \ "# Last Modified:"]
   call append(0, t)
-----------------------------------

-----------------------------------
   0put ='# Filename:'
   put ='# Description:'
   put ='# Author:'
   put ='# Last Modified:'
-----------------------------------

-----------------------------------
   let x = "# Filename:\n# Description:\n# Author:\n# Last Modified:"
   0put =x
-----------------------------------

- Yegappan

Reply via email to