0pendev
0pendev

Reputation: 41

How to get tabs in emacs

is there a mode that gives tabs to emacs. I lost lots of time navigating between buffers. I need to get a view which shows me the different buffers.

Upvotes: 2

Views: 1530

Answers (6)

yPhil
yPhil

Reputation: 8357

As of 2019 Emacs now has native tabs, so

(global-tab-line-mode t)

Upvotes: 1

Try my package centaur-tabs. I tried to make it as modern looking as I could, providing a lot of customization options and theming it in popular theme packages like Kaolin Themes or Atom One Dark Theme. It is keyboard oriented although the tabs work with the mouse. It is available in MELPA, try it out and feel free to contribute or submit any kind of feedback. (https://i.sstatic.net/K1N5C.png)

Upvotes: 1

Ehvince
Ehvince

Reputation: 18375

I use elscreen for this, even if they are not "real" tabs like in other apps (not draggable, no close button, and not "one buffer per tab" concept, we create tabs when we want). But it's enough for me to organize my work in different views.

I also like the hydra you'll see on the wiki and I bound other keys to switch between tabs more naturally:

(global-set-key (kbd "<C-prior>") 'elscreen-previous)
(global-set-key (kbd "<C-next>") 'elscreen-next)
(global-set-key (kbd "<C-tab>") 'elscreen-next) ;; except in org
(global-set-key (kbd "<C-iso-lefttab>") 'elscreen-previous)

see also Buffer Management and specially ibuffer if your goal is to list all available buffers (which you can do now with the menu).

Upvotes: 1

Picaud Vincent
Picaud Vincent

Reputation: 10982

You have several choices:

  • speedbar: M-x speedbar

  • ibuffer: M-x ibuffer

  • or even simply using helm: M-x helm-buffer-list

Upvotes: 0

sds
sds

Reputation: 60004

I find C-x C-b (list-buffers) combined with o (Buffer-menu-other-window, try also ? for detailed help) perfectly adequate.

Others use Speedbar which is way more powerful.

Upvotes: 0

Tim Miller
Tim Miller

Reputation: 566

For tabs, I recommend tabbar-mode. It is a minor mode that should provide the functionality you're looking for.

Upvotes: 1

Related Questions