Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version 5.0

New Features
------------
- Changed how the script looks for some system files especially useful if you do not store your vimfiles directory in the $VIM directory (Adam Duck).
  • Loading branch information...
commit d370e74685e7e7dc80895c181bd6cf7df6a5002f 1 parent 5d04936
@dfishburn dfishburn authored committed
View
16 doc/outlook.txt
@@ -1,4 +1,4 @@
-*outlook.txt* For Vim version 7.0. Last change: 2010 May 25
+*outlook.txt* For Vim version 7.0. Last change: 2010 Aug 13
VIM REFERENCE MANUAL
@@ -6,7 +6,7 @@
David Fishburn <dfishburn dot vim at gmail dot com>
Outlook Vim Plugin
- outlook.vim version 4.0
+ outlook.vim version 5.0
For instructions on installing this file, type
:help add-local-help
@@ -76,6 +76,14 @@ David Fishburn
==============================================================================
2. What's New *outlook-new*
+Version 5.0
+
+ New Features
+ ------------
+ - Changed how the script looks for some system files especially useful if you
+ do not store your vimfiles directory in the $VIM directory (Adam Duck).
+
+
Version 4.0
New Features
@@ -84,8 +92,8 @@ Version 4.0
- Updated outlookvim.js to display a message if double clicked on to determine
if Windows Script Host is correctly installed.
- Updated outlookvim.bas (the Outlook VBScript Macro) to show an error if it
- cannot access the file system. Modified all the message boxes to indicate
- it is "OutlookVim:" which is displaying the message.
+ cannot access the file system. Modified all the message boxes Outlook may
+ display to indicate "OutlookVim:" is displaying the message.
- You can specify whether new emails should be opened in a new tab via
the g:outlook_use_tabs configuration option (Zsolt Botykai).
View
6 plugin/OutlookVim.bas
@@ -1,8 +1,8 @@
' OutlookVim.bas - Edit emails using Vim from Outlook
' ---------------------------------------------------------------
-' Version: 4.0
+' Version: 5.0
' Authors: David Fishburn <dfishburn dot vim at gmail dot com>
-' Last Modified: 2010 May 25
+' Last Modified: 2010 Aug 13
' Homepage: http://vim.sourceforge.net/script.php?script_id=???
'
' This VBScript should be installed as a macro inside of Microsoft Outlook.
@@ -16,8 +16,6 @@
' http://office.microsoft.com/en-us/help/HA010429591033.aspx
' Macro Security settings and creating digit certificates
' http://www.pcreview.co.uk/forums/thread-854025.php
-'
-' Version 4.0
Option Explicit
View
15 plugin/outlook.vim
@@ -1,8 +1,8 @@
" outlook.vim - Edit emails using Vim from Outlook
" ---------------------------------------------------------------
-" Version: 4.0
+" Version: 5.0
" Authors: David Fishburn <dfishburn dot vim at gmail dot com>
-" Last Modified: 2010 Jun 03
+" Last Modified: 2010 Aug 13
" Created: 2009 Jan 17
" Homepage: http://vim.sourceforge.net/script.php?script_id=???
" Help: :h outlook.txt
@@ -44,7 +44,8 @@ if !exists('g:outlook_javascript')
" Default location for the outlookvim.js file.
" This can be overridden in your vimrc via
" g:outlook_javascript
- let g:outlook_javascript = expand('$VIM/vimfiles/plugin/outlookvim.js')
+ " let g:outlook_javascript = expand('$VIM/vimfiles/plugin/outlookvim.js')
+ let g:outlook_javascript = expand('<sfile>:p:h').'/outlookvim.js'
endif
" textwidth - automatically wrap at a column
@@ -59,6 +60,10 @@ if !exists('g:outlook_servername')
let g:outlook_servername = ''
endif
+" globpath uses wildignore and suffixes options unless a flag is provided
+" to ignore those settings.
+let s:ignore_wildignore_setting = 1
+
function! Outlook_WarningMsg(msg)
echohl WarningMsg
echomsg "outlook: ".a:msg
@@ -171,7 +176,7 @@ endfunction
" Check is cscript.exe is already in the PATH
" Some path entries may end in a \ (c:\util\;), this must also be replaced
" or globpath fails to parse the directories
-if strlen(globpath(substitute($PATH, '\\\?;', ',', 'g'), 'cscript.exe')) == 0
+if strlen(globpath(substitute($PATH, '\\\?;', ',', 'g'), 'cscript.exe', s:ignore_wildignore_setting)) == 0
call Outlook_ErrorMsg("Cannot find cscript.exe in system path")
finish
endif
@@ -214,7 +219,7 @@ if has('autocmd') && !exists("g:loaded_outlook")
augroup END
" Don't re-run the script if already sourced
- let g:loaded_outlook = 4
+ let g:loaded_outlook = 5
let @"=saveB
endif
View
4 plugin/outlookvim.js
@@ -1,8 +1,8 @@
// outlookvim.js
//
// Author: David Fishburn
-// Version: 4.0
-// Last Modified: 2010 May 26
+// Version: 5.0
+// Last Modified: 2010 Aug 13
// Homepage: http://vim.sourceforge.net/script.php?script_id=???
//
// Purpose:
Please sign in to comment.
Something went wrong with that request. Please try again.