Monday, November 29, 2010

Re: Emacs' Org-mode clone for Vim

+ use s:string(var) instead of "'".var."'" with the following s:string:

function s:string(str)
return substitute(string(a:str), '\n', '''."\\n".''', 'g')
endfunction

No comments:

Post a Comment