Fixed tabbar-ruler weirdness.
This commit is contained in:
parent
a85bff7dbe
commit
2b73cf41e4
15
init.el
15
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;; Time-stamp: <2019-04-28T20:09:13+00:00>
|
||||
;; Time-stamp: <2019-04-29T12:43:38+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -397,7 +397,7 @@ With argument, do this that many times."
|
|||
;; Icons (required by doom).
|
||||
(use-package all-the-icons
|
||||
:config
|
||||
(unless (member "all-the-icons" (font-family-list))
|
||||
(unless (file-exists-p "~/.local/share/fonts/all-the-icons.ttf")
|
||||
(all-the-icons-install-fonts t)))
|
||||
|
||||
;; Themes for doom-modeline.
|
||||
|
@ -554,16 +554,15 @@ With argument, do this that many times."
|
|||
"Show tabbar if it is hidden."
|
||||
(when tabbar-ruler-tabbar-off
|
||||
(tabbar-mode 1)
|
||||
(setq tabbar-ruler-tabbar-off nil)
|
||||
(setq-local tabbar-ruler-tabbar-off nil)
|
||||
(ruler-mode -1)
|
||||
(setq tabbar-ruler-ruler-off t)))
|
||||
;; Show tabbar after 5 seconds idle.
|
||||
(run-with-idle-timer 5 t (lambda () (my/show-tabbar)))
|
||||
(setq-local tabbar-ruler-ruler-off t)))
|
||||
|
||||
;; Show tabbar after 4 seconds idle.
|
||||
(run-with-idle-timer 4 t (lambda () (my/show-tabbar)))
|
||||
:bind
|
||||
("C-<prior>" . 'tabbar-ruler-tabbar-backward-tab)
|
||||
("C-<next>" . 'tabbar-ruler-tabbar-forward-tab)
|
||||
:hook
|
||||
(after-save . my/show-tabbar)
|
||||
:custom-face
|
||||
(tabbar-selected ((t
|
||||
(:background "gray11"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
127.0.0.1:51313 861
|
||||
127.0.0.1:51313 9260
|
||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user