Disable tabbar.
This commit is contained in:
parent
9571a8c434
commit
c447b28e3b
29
init.el
29
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-05-08T15:26:30+00:00>
|
;; Time-stamp: <2019-05-08T16:13:20+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -219,7 +219,7 @@ With argument, do this that many times."
|
||||||
(use-package company-statistics
|
(use-package company-statistics
|
||||||
:after company
|
:after company
|
||||||
:hook
|
:hook
|
||||||
(after-init-hook . company-statistics-mode))
|
(after-init . company-statistics-mode))
|
||||||
|
|
||||||
;; Set default indentation.
|
;; Set default indentation.
|
||||||
(setq-default indent-tabs-mode nil
|
(setq-default indent-tabs-mode nil
|
||||||
|
@ -543,9 +543,12 @@ With argument, do this that many times."
|
||||||
:pin melpa ; Faces are not correctly applied,
|
:pin melpa ; Faces are not correctly applied,
|
||||||
:after (projectile mode-icons) ; version from >=2016-08-02 is needed.
|
:after (projectile mode-icons) ; version from >=2016-08-02 is needed.
|
||||||
:custom
|
:custom
|
||||||
(tabbar-ruler-global-tabbar t)
|
;; (tabbar-ruler-global-tabbar t)
|
||||||
(tabbar-ruler-global-ruler t)
|
(tabbar-ruler-global-ruler t)
|
||||||
:config
|
:config
|
||||||
|
(defun tabbar-ruler-tabbar-ruler-fight (&optional initialize)
|
||||||
|
"tabbar-ruler-tabbar-ruler-fight is disabled."
|
||||||
|
(ruler-mode t))
|
||||||
;; (tabbar-ruler-group-by-projectile-project) ; Group by projectile.
|
;; (tabbar-ruler-group-by-projectile-project) ; Group by projectile.
|
||||||
;; (tabbar-ruler-group-buffer-groups) ; Group by file type.
|
;; (tabbar-ruler-group-buffer-groups) ; Group by file type.
|
||||||
(tabbar-ruler-group-user-buffers) ; Group by frame.
|
(tabbar-ruler-group-user-buffers) ; Group by frame.
|
||||||
|
@ -554,17 +557,17 @@ With argument, do this that many times."
|
||||||
(add-hook 'projectile-after-switch-project-hook ; Does not work under :hook.
|
(add-hook 'projectile-after-switch-project-hook ; Does not work under :hook.
|
||||||
'tabbar-ruler-group-by-projectile-project)
|
'tabbar-ruler-group-by-projectile-project)
|
||||||
|
|
||||||
(defun my/show-tabbar ()
|
;; (defun my/show-tabbar ()
|
||||||
"Show tabbar if it is hidden."
|
;; "Show tabbar if it is hidden."
|
||||||
(when tabbar-ruler-tabbar-off
|
;; (when tabbar-ruler-tabbar-off
|
||||||
(tabbar-mode 1)
|
;; (tabbar-mode 1)
|
||||||
(setq tabbar-ruler-tabbar-off nil)
|
;; (setq tabbar-ruler-tabbar-off nil)
|
||||||
(ruler-mode -1)
|
;; (ruler-mode -1)
|
||||||
(setq tabbar-ruler-ruler-off 't)
|
;; (setq tabbar-ruler-ruler-off 't)
|
||||||
))
|
;; ))
|
||||||
|
|
||||||
;; Show tabbar after 2 seconds idle.
|
;; ;; Show tabbar after 2 seconds idle.
|
||||||
(run-with-idle-timer 2 t (lambda () (my/show-tabbar)))
|
;; (run-with-idle-timer 2 t (lambda () (my/show-tabbar)))
|
||||||
:bind
|
:bind
|
||||||
("C-<prior>" . 'tabbar-ruler-tabbar-backward-tab)
|
("C-<prior>" . 'tabbar-ruler-tabbar-backward-tab)
|
||||||
("C-<next>" . 'tabbar-ruler-tabbar-forward-tab)
|
("C-<next>" . 'tabbar-ruler-tabbar-forward-tab)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
127.0.0.1:51313 26259
|
127.0.0.1:51313 21319
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user