Timoses / vim-venu

Simple menu for vim
20 stars 2 forks source link

Selectively handle natively imported menus #6

Closed Timoses closed 5 years ago

Timoses commented 5 years ago

Feature to selectively import only a specific menu with a name:

call venu#native#import("Riv")

It would also be nice to receive a venu menu selectively, so the user can choose where to hang it in her/his venu tree. E.g.:

# following function would return a venu menu which contains only the Riv :menu
let s:riv = venu#native#{???fetch???}("Riv")
# I can then handle s:riv like any other venu menu
call venu#addItem(s:mySpecialGuiMenu, "Riv GUI", s:riv)
Timoses commented 5 years ago

2 #5

Timoses commented 5 years ago

Can be achieved with filtering menus.