Skip to content

mattfidler/tabbar-ruler.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabbar Ruler

A modernised tabbar with ruler.

https://raw.githubusercontent.com/rhoit/tabbar-ruler.el/dump/screenshots/01.png

tabbar-ruler.el is an emacs package that allows both the tabbar and the ruler to be used together. In addition it allows auto-hiding of the menu-bar and tool-bar.

Appearance originally created on reverse engineering Aquaemacs, now improved too looks and feel of modern GUI.

1 Getting it

1.1 Requirements

packageversion
emacs>= 23
tabbar>= 2.0.1
powerline>= 2.3
mode-icons>= 0.10

tabbar-ruler package can be found are el-get and MELPA.

1.2 Manual

To use library in your load path and use

(setq tabbar-ruler-global-tabbar t)    ; get tabbar
(setq tabbar-ruler-global-ruler t)     ; get global ruler
(setq tabbar-ruler-popup-menu t)       ; get popup menu.
(setq tabbar-ruler-popup-toolbar t)    ; get popup toolbar
(setq tabbar-ruler-popup-scrollbar t)  ; show scroll-bar on mouse-move
(require 'tabbar-ruler)

2 Configuration

2.1 Buffer Groups

The default behavior for tabbar-ruler is to group the tabs by frame. You can change this back to the old-behavior by:

(tabbar-ruler-group-buffer-groups)

or by issuing the following code:

(setq tabbar-buffer-groups-function 'tabbar-buffer-groups)

In addition, you can also group by projectile project easily by:

(tabbar-ruler-group-by-projectile-project)

2.2 Key Bindings

You can add key-bindings to change the current tab. The easiest way to add the bindings is to add a key like:

(global-set-key (kbd "C-c t") 'tabbar-ruler-move)

After that, all you would need to press is Control+c t and then the arrow keys will allow you to change the buffer quite easily. To exit the buffer movement you can press enter or space.