Thursday, January 5, 2012

Re: Nesting an already defined menu in a menu

On Jan 5, 12:55 am, gvalkov <georgi.t.val...@gmail.com> wrote:
> Hm, I was also eyeing the output of `menu $menu` as a possibility, but
> it just seemed too painful to parse at the moment. It would have been
> nice if vim had this built in - feels more like a core function,
> rather than something that scripts like yours should provide (imho).

Yes, especially since the MoveMenu function has some problems with
menus that contain some special characters, IIRC with '|' (bar). Most
of the menus are transfered, though.

>
> Either way, something like ftmenu#MoveMenu and ftmenu#CaptureMenu
> would be a nice addition to one of the vim script libraries (l9, tlib,
> vxlib etc)

I was planning to add it to VxLib (among other things), but I don't
have much time these days.

Marko

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