Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 Control commands sent to vim

open
nobody
None
5
2002-09-03
2002-09-03
Anonymous
No

Configure Vim (through the autocmd feature) to run a
script (currently mailmsg.js) after writting the buffer to
disk.

It would be nice if we had control over this stream, or
instead of creating a .txt file, we could create a (oms,
Outlook Message) extenstion. That way, we could use
the filetypes in VIM to configure vim for what we need.

I wanted to change my expandtab option and enable
some functions (for example).

Discussion

  • Logged In: NO

    The same thing could be accomplished by prepending something
    on to the name of the file.
    So instead of randomly choose aaa187.tmp, you could do:
    outlook_aaa187.tmp

    Xnews read, does the following:
    New message has __edit_Post
    Response has __edit_FollowUp

    I do different things based on each file beginning.

    Dave