Re: Writing a configuration file in vim script
- On 2010-08-29, Gusman wrote:
> On Sun, Aug 29, 2010 at 5:05 PM, Tom Link wrote:When Vim writes to file, it will also create that file if it doesn't
> > Currently I try to make my custom function in Vim, in this case I need to
> > create/write/read/delete a configuration file contains the global
> > value.
> I don't know if this is relevant for you, but to some extent you can
> use viminfo to save certain variables (all upper case names). See the
> '!' argument in :help 'viminfo'.
> Currently I found a way to write/read/create/delete file by using python
> But is there significant difference between python script and original vim
> Until now, I only find to read and write a file using vim script, based on John
already exist, so there is no need for a separate create function.
To delete a file, see
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