Sunday, May 9, 2010

Re: ANN: Vim for Outlook

On Sun, May 9, 2010 at 4:54 AM, yosi izaq <izaqyos@gmail.com> wrote:
> This plugin sounds very useful.
>
> I have outlook 2k7 and have followed the install instructions. I have
> added the vim macro and quick access button. Clicking it opens a vim
> session for editing the email. However saving the changes (:w) doesn't
> update the email.

Please update to OutlookVim 3.0.

Two things:

1. After opening the email in Vim, please provide the output from:
:au outlook

You can select this with your mouse and hit CTRL-Y, then paste it into
this email. It should look something like this:
****
:au outlook
--- Auto-Commands ---
outlook BufEnter
*.outlook setlocal filetype=mail
outlook BufUnload
*.outlook if expand('%:e') == 'outlook' | call
delete(expand('%:p').'.ctl') | call delete(expand('%:p')) | endif
outlook BufWritePost
*.outlook setlocal autoread | let g:outlook_cscript_output =
system('cscript "C:\Vim\vimfiles\plugin\outlookvim.js"
"'.expand("%").'" ')| bdelete | if g:outloo
k_cscript_output =~ 'outlookvim:' | call Outlook_WarningMsg(
substitute(g:outlook_cscript_output, '^.*\(outlookvim:.*\)', '\1', '')
) | endif
****


2. After typing :w, please provide the output from:
:echo g:outlook_cscript_output

It should say something like this:
****
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Successfully updated Outlook, message
ID:0000000026A082186274D011808F00805FF466B524ACAB01
****


Dave

--
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: