I believe this problem has just been fixed on the MacVim mailing list.

The patch was posted by Maximilian Nickel (max.nic...@gmail.com). I've attached it to this message. Apply it with

patch -p0 < macvim-latex.diff

in your ~/.vim directory (or the equivalent directory that contains your Vim-LaTeX distro).

--Ted

On 11/9/07 5:07 PM, John Shafer wrote:
Vim-latex users,

When using gvim in Mac OS X, no subitems appear in the templates or
macros menus.  This is moderately annoying, although by no means a
showstopper.  I was wondering if anyone had any idea of why this might
be?  In addition, when using vim-latex on Linux, the key mappings for
commands are visible in the menus.  Again, this doesn't seem to be the
case in Mac OS X.  Thanks for any information.  Googling this issue
hasn't led to any interesting solutions.

I'm using Mac OS X (10.5) and the most recent vim-latex suite.


--
Ted Pavlic <t...@tedpavlic.com>

  Please visit my ALS association page:
        http://web.alsa.org/goto/tedpavlic
  My family appreciates your support in the fight to defeat ALS.
--- ftplugin/latex-suite/templates.vim.orig     2009-05-02 02:07:22.000000000 
+0200
+++ ftplugin/latex-suite/templates.vim  2009-05-02 02:05:50.000000000 +0200
@@ -22,7 +22,7 @@
                if fname == ''
                        break
                endif
-               exe "amenu ".g:Tex_TemplatesMenuLocation."&".i.":<Tab>".fname." 
".
+               exe "amenu ".g:Tex_TemplatesMenuLocation."&".i.":".fname." ".
                        \":call <SID>ReadTemplate('".fname."')<CR>"
                let i = i + 1
        endwhile
--- ftplugin/latex-suite/custommacros.vim.orig  2009-05-02 01:49:39.000000000 
+0200
+++ ftplugin/latex-suite/custommacros.vim       2009-05-02 01:50:02.000000000 
+0200
@@ -35,10 +35,10 @@
                if fname == ''
                        break
                endif
-               exe "amenu 
".g:Tex_MacrosMenuLocation."&Delete.&".i.":<tab>".fname." :call 
<SID>DeleteMacro('".fname."')<CR>"
-               exe "amenu 
".g:Tex_MacrosMenuLocation."&Edit.&".i.":<tab>".fname."   :call 
<SID>EditMacro('".fname."')<CR>"
-               exe "imenu ".g:Tex_MacrosMenuLocation."&".i.":<tab>".fname." 
<C-r>=<SID>ReadMacro('".fname."')<CR>"
-               exe "nmenu ".g:Tex_MacrosMenuLocation."&".i.":<tab>".fname." 
i<C-r>=<SID>ReadMacro('".fname."')<CR>"
+               exe "amenu ".g:Tex_MacrosMenuLocation."&Delete.&".i.":".fname." 
:call <SID>DeleteMacro('".fname."')<CR>"
+               exe "amenu ".g:Tex_MacrosMenuLocation."&Edit.&".i.":".fname."   
:call <SID>EditMacro('".fname."')<CR>"
+               exe "imenu ".g:Tex_MacrosMenuLocation."&".i.":".fname." 
<C-r>=<SID>ReadMacro('".fname."')<CR>"
+               exe "nmenu ".g:Tex_MacrosMenuLocation."&".i.":".fname." 
i<C-r>=<SID>ReadMacro('".fname."')<CR>"
                let i = i + 1
        endwhile
 endfunction 
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to