Do you use Emacs tabbar?

2019-01-31 11:54发布

The emacs tabbar.el package adds (buffer)tabs to each window and comes standard with aquamacs and can be added to emacs23 with the emacs-goodies-el package.

Are any of you hardcore emacs users actually using tabbar? I'm sort of used to having tabs, but I would like to know if working without them could be more productive, and if there are other ways besides checking your bufferlist (C-x C-b) to get an overview of your current project files.

As a side note, I really like textmate's project drawer (and tabs), but anything similar in emacs looks just plain hideous.

11条回答
狗以群分
2楼-- · 2019-01-31 12:28

Up until now, I haven't tried it, but before I switched back to GNU Emacs from XEmacs, I used the XEmacs tabs very heavily. I found that when I had many source files open, it was one of the fastest ways to jump to the correct file.

Now that I know about tabbar, I am trying it; and so far, I like it.

  • John
查看更多
虎瘦雄心在
3楼-- · 2019-01-31 12:30

I've tried using it, but I felt it constraint my workflow rather than improve it. There are a lot of excellent Emacs modes to help with the organization of many buffers and I simply don't feel mapping buffers to tabs is one of those ways.

Just think about the most basic scenario - a lot of tabs. How different programs deal with it - limit the maximum tabs(IntelliJ IDEA); enable tabs bar scrolling(Firefox); infinitely reducing the tabs size(Google Chrome); creating rows of tabs(IntelliJ IDEA)... None of this solutions is that great and by not having tabs in Emacs we have one less problem to worry about. At least this is my subjective opinion - others will most certainly disagree... I personally need nothing more than ido and and iswitchb.

A video of ido in action: http://www.youtube.com/watch?v=lsgPNVIMkIE

查看更多
够拽才男人
4楼-- · 2019-01-31 12:30

I like to use speedbar for quick buffer navigation. I have in my .emacs

(speedbar-change-initial-expansion-list "buffers")
(global-set-key  [f8] 'speedbar-get-focus)

so when I hit F8, a new frame pops up with a list of open buffers, there you can move point over the buffer you want to select and to activate it. One more F8 goes back to the main frame.

查看更多
狗以群分
5楼-- · 2019-01-31 12:33

C-x b<RET> always gives you the last edited buffer. And what do you do with tabs ? Mostly switch back & forth between two files. There you go.

查看更多
看我几分像从前
6楼-- · 2019-01-31 12:35

No. I could possibly be convinced to try it again with the right customisation, but by default it's pretty useless for me, as I habitually have in excess of 100 buffers open. ibuffer with its filtering and grouping is the best way for managing large numbers of buffers that I've tried.

查看更多
萌系小妹纸
7楼-- · 2019-01-31 12:35

Tabs are really only useful if you use the mouse, and one of the main benefits (to me) of Emacs is that I can avoid the mouse.

So, no, tabbar isn't useful in general.

I did find the tabs useful when I was browsing web pages (using w3m), but I was using the mouse in that case...

查看更多
登录 后发表回答