2020-09-29 04:34:08 +00:00
|
|
|
;;; config.el --- tabs configuration File for Spacemacs
|
2020-09-02 22:46:49 +00:00
|
|
|
;;
|
2021-03-22 20:11:29 +00:00
|
|
|
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
|
2020-09-02 22:46:49 +00:00
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
2021-03-24 03:31:44 +00:00
|
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
;;
|
|
|
|
;; This program is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
;;
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-navigation 'centaur-tabs-cycle-scope
|
2020-09-02 22:46:49 +00:00
|
|
|
"*Specify the scope of cyclic navigation through tabs.
|
|
|
|
The following scopes are possible:
|
|
|
|
|
|
|
|
- `tabs'
|
|
|
|
Navigate through visible tabs only.
|
|
|
|
- `groups'
|
|
|
|
Navigate through tab groups only.
|
|
|
|
- nil
|
|
|
|
Navigate through visible tabs, then through tab groups.")
|
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-gray-out-unselected 'centaur-tabs-gray-out-icons)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-height 'centaur-tabs-height)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-show-icons 'centaur-tabs-set-icons)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-set-modified-marker 'centaur-tabs-set-modified-marker)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-modified-marker 'centaur-tabs-modified-marker)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-show-navigation-buttons 'centaur-tabs-show-navigation-buttons)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-style 'centaur-tabs-style
|
|
|
|
"Style of tab.
|
|
|
|
Available values are \"bar\", \"alternate\", \"box\",
|
|
|
|
\"chamfer\", \"rounded\", \"slant\", \"wave\", \"zigzag\" ")
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defvaralias 'tabs-set-bar 'centaur-tabs-set-bar)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defcustom tabs-group-by-project t
|
|
|
|
"When non-nil, group tabs by projectile project.
|
|
|
|
Default t. If non-nil calls (tabs-group-by-projectile-project)
|
|
|
|
Otherwise calls (tabs-group-buffer-groups)"
|
|
|
|
:type '(boolean)
|
|
|
|
:group 'tabs)
|
2020-09-02 22:46:49 +00:00
|
|
|
|
2020-12-16 19:10:39 +00:00
|
|
|
(defcustom tabs-headline-match t
|
|
|
|
"When non-nil, make headline use tabs-default-face. Default t.
|
|
|
|
Calls (tabs-headline-match)"
|
|
|
|
:type '(boolean)
|
|
|
|
:group 'tabs)
|
|
|
|
|
|
|
|
(defcustom tabs-auto-hide nil
|
|
|
|
"If non-nil hide tabs automatically after TABS-AUTO-HIDE-DELAY seconds."
|
|
|
|
:type '(boolean)
|
|
|
|
:group 'tabs)
|
|
|
|
|
|
|
|
(defcustom tabs-auto-hide-delay 2
|
|
|
|
"Tabs auto hide delay in seconds."
|
|
|
|
:type '(float)
|
|
|
|
:group 'tabs)
|