Giter Club home page Giter Club logo

awesome-tab's Introduction

What is it?

Tabbar.el is cool, but very ugly defaultly.

Every emacser will waste too much time to customize it.

So this extension provide an out of box configuration to use tabbar in Emacs.

Installation

You need install projectile first.

Then put tabbar.el and awesome-tab.el to your load-path.

The load-path is usually ~/elisp/.

It's set in your ~/.emacs like this:

(add-to-list 'load-path (expand-file-name "~/elisp"))
(require 'awesome-tab)

Usage.

Command Description
tabbar-switch-group Switch tabbar group by ido fuzz match
tabbar-select-beg-tab Select first tab of current group
tabbar-select-end-tab Select last tab of current group
tabbar-forward-tab-other-window Select next tab in other window
tabbar-backward-tab-other-window Select previous tab in other window
tabbar-backward Select the previous available tab
tabbar-forward Select the next available tab
tabbar-backward-group Go to selected tab in the previous available group
tabbar-forward-group Go to selected tab in the next available group
tabbar-kill-all-buffers-in-current-group Kill all buffers of current group
tabbar-kill-match-buffers-in-current-group Kill buffers match extension of current group
tabbar-keep-match-buffers-in-current-group Keep buffers match extension of current group
tabbar-move-current-tab-to-left Move current tab to left
tabbar-move-current-tab-to-right Move current tab to right

If you're helm fans, you need add below code in your helm config:

(tabbar-build-helm-source)

Then add helm-source-tabbar-group in helm-source-list

Customize

Option Description
tabbar-back-color Background color of tabbar
tabbar-active-color Active tab color
tabbar-inactive-color Inactive tab color
tabbar-hide-tab-rules The hide tab rules

tabbar-hide-tab-rules value is:

'(
  ("prefix" . "*")
  ("match" . "^magit.*:\\s-")
 )

It's easy to understand.

  1. First rule control match position of tab name, value can use "prefix", "anyplace", "suffix".
  2. Second rule is regexp to match tab name.

awesome-tab's People

Contributors

casouri avatar et2010 avatar manateelazycat avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.