Ticket #3925 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

implement submenus in user menu (f2)

Reported by: jose1711 Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: master
Keywords: submenu,nested,menu Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

the current implementation of user menu only allows a flat structure. i always liked the way how volkov commander did this: vc.mnu held the main configuration similar to mc.menu but it could also reference other .mnu files so one could nest theam easily.

i wish mc had this a similar functionality. it would be nice to be able to do F2 - Edit.. - Edit using vim/nano/mcedit..

Attachments

nc_submenu.png (38.0 KB) - added by jose1711 6 years ago.
example user menu defined in norton commander

Change History

comment:1 Changed 6 years ago by jose1711

btw norton commander also knew the concept of submenus (plus it also contained an integrated editor). unlike volkov commander the configuration however is kept in a single file (nc.mnu), example:

a: Foo
  foo.exe
b: Submenu1
{
c: do something
  something.exe
d: do something else
  somethingelse.exe
}
c: Submenu2
{
d: undo something
  undo.exe
e: undo something else
  undosomethingelse.exe
}

Changed 6 years ago by jose1711

example user menu defined in norton commander

Note: See TracTickets for help on using tickets.