jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] a mode like tabbar?


Mike Ma <zhtx10@xxxxxxxxx> wrote:
> tabbar is a Emacs mode.
> It's very useful and I like it very much.
> Does JED have a similar mode?

Jed does not support tabbed windows.  However, if the idea is to very
quickly get a list of buffers to select, you can use the
Buffers->Change Buffer menu item.  You can bind it to a key using
something like this in your .jedrc file:

  setkey ("menu_select_menu(\"Global.&Buffers.&Change Buffer\")",
          Key_F3);

You may have to put that in a keybindings hook if your jedrc file does
not load an emulation (emacs, ide, wordstar, ...).  That is, if your
jedrc file contains something like:

    require ("emacs"); % or "ide", "wordstar",....

then put the above setkey line after the require statement that loads
the emulation.  Otherwise, a default emulation will get loaded after
your jedrc file has been processed, which means that you will need to
use the hook:

   define keybindings_hook (emulation)
   {
      setkey ("menu_select_menu(\"Global.&Buffers.&Change Buffer\")",
              Key_F3);
   }

I hope this is clear.
Thanks,
--John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2011 date index] [2011 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]