Hey everyone,

How do I have a function call Normal commands?  Example: I'd like to
make a function that will open a certain file, and then set the
foldlevel to 1, and then go to the right window.  So I have:

function TodoListMode()
 execute ":e ~/.todo.otl"
 execute ":Calendar"
endfunction

and then after the second command I want to do:
<ctrl>wl
zM
zr

Thanks!

-fREW

Reply via email to