Monday, September 27, 2010

Where to save scripts

Hi,

I've written two lua scripts, say *myscript.lua* and *mystart.lua*.
The two issues are:

1) I want to have *mystart.lua* interpreted (inside vim, not with the external
interpreter) every time vim starts up.

What's the best approach to accomplish automatic loading of *mystart.lua*?


2) *myscript.lua* interpretable with the following line
:luafile myscript.lua

Where to put the file (in .vim/..., not in the working dir) so that I don't
need to specify a path?


Best regards
Marco


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment