diff options
| author | 2025-10-15 02:17:12 +0300 | |
|---|---|---|
| committer | 2025-10-15 02:38:12 +0300 | |
| commit | d46439807f527f33642efe3d487e0d094c66374c (patch) | |
| tree | d15c33b228c1bef5dda8d623e1539c800fd51083 /emacs | |
| parent | emacs: Increase split-width-threshold to 120 from 80 (diff) | |
| download | dotfiles-d46439807f527f33642efe3d487e0d094c66374c.tar.gz dotfiles-d46439807f527f33642efe3d487e0d094c66374c.tar.xz dotfiles-d46439807f527f33642efe3d487e0d094c66374c.zip | |
emacs: replace centaur-tabs with builtin tab-line
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.config/emacs/arkta/arkta-cosmetic.el | 51 | ||||
| -rw-r--r-- | emacs/.config/emacs/shared/elpaca-lock.el | 5 |
2 files changed, 26 insertions, 30 deletions
diff --git a/emacs/.config/emacs/arkta/arkta-cosmetic.el b/emacs/.config/emacs/arkta/arkta-cosmetic.el index bfad515..a7a8488 100644 --- a/emacs/.config/emacs/arkta/arkta-cosmetic.el +++ b/emacs/.config/emacs/arkta/arkta-cosmetic.el | |||
| @@ -7,31 +7,6 @@ | |||
| 7 | :custom | 7 | :custom |
| 8 | (ansi-color-for-compilation-mode t)) | 8 | (ansi-color-for-compilation-mode t)) |
| 9 | 9 | ||
| 10 | (use-package centaur-tabs | ||
| 11 | :ensure t | ||
| 12 | :demand t | ||
| 13 | :init | ||
| 14 | (defun arkta/disable-centaur-tabs-mode () | ||
| 15 | (centaur-tabs-local-mode +1)) | ||
| 16 | :hook (dashboard-mode . arkta/disable-centaur-tabs-mode) | ||
| 17 | :bind (("C-x <C-right>" . centaur-tabs-forward) | ||
| 18 | ("C-x <right>" . centaur-tabs-forward) | ||
| 19 | ("C-x <C-left>" . centaur-tabs-backward) | ||
| 20 | ("C-x <left>" . centaur-tabs-backward)) | ||
| 21 | :custom | ||
| 22 | (centaur-tabs-style "alternate") | ||
| 23 | (centaur-tabs-height 35) | ||
| 24 | (centaur-tabs-icon-type 'nerd-icons) | ||
| 25 | (centaur-tabs-set-icons t) | ||
| 26 | (centaur-tabs-gray-out-icons 'buffer) | ||
| 27 | (centaur-tabs-set-bar 'over) | ||
| 28 | (centaur-tabs-set-close-button nil) | ||
| 29 | (centaur-tabs-set-modified-marker t) | ||
| 30 | (centaur-tabs-modified-marker "●") | ||
| 31 | (centaur-tabs-cycle-scope 'tabs) | ||
| 32 | :config | ||
| 33 | (centaur-tabs-mode +1)) | ||
| 34 | |||
| 35 | (use-package colorful-mode | 10 | (use-package colorful-mode |
| 36 | :ensure t | 11 | :ensure t |
| 37 | :custom | 12 | :custom |
| @@ -137,6 +112,32 @@ | |||
| 137 | :config | 112 | :config |
| 138 | (solaire-global-mode +1)) | 113 | (solaire-global-mode +1)) |
| 139 | 114 | ||
| 115 | (use-package tab-line | ||
| 116 | ;; Stuff missing from centaur-tabs | ||
| 117 | ;; TODO: nerd-icons mode icons | ||
| 118 | ;; TODO: "●" icon for modified | ||
| 119 | :ensure nil | ||
| 120 | :demand t | ||
| 121 | :init | ||
| 122 | (defun arkta/disable-tabs () | ||
| 123 | (tab-line-mode -1)) | ||
| 124 | :hook (dashboard-mode . arkta/disable-tabs) | ||
| 125 | :bind (("C-x <C-right>" . tab-line-switch-to-next-tab) | ||
| 126 | ("C-x <right>" . tab-line-switch-to-next-tab) | ||
| 127 | ("<C-tab>" . tab-line-switch-to-next-tab) | ||
| 128 | ("C-x <C-left>" . tab-line-switch-to-prev-tab) | ||
| 129 | ("C-x <left>" . tab-line-switch-to-prev-tab) | ||
| 130 | ("<C-S-tab>" . tab-line-switch-to-prev-tab) | ||
| 131 | ("<C-backtab>" . tab-line-switch-to-prev-tab)) | ||
| 132 | :custom | ||
| 133 | (tab-line-close-button-show nil) | ||
| 134 | :custom-face | ||
| 135 | (tab-line ((t :height 140))) | ||
| 136 | (tab-line-tab ((t :overline t))) | ||
| 137 | (tab-line-tab-current ((t :overline t))) | ||
| 138 | :config | ||
| 139 | (global-tab-line-mode +1)) | ||
| 140 | |||
| 140 | (use-package time | 141 | (use-package time |
| 141 | :ensure nil | 142 | :ensure nil |
| 142 | :custom | 143 | :custom |
diff --git a/emacs/.config/emacs/shared/elpaca-lock.el b/emacs/.config/emacs/shared/elpaca-lock.el index ac07e1a..116eb67 100644 --- a/emacs/.config/emacs/shared/elpaca-lock.el +++ b/emacs/.config/emacs/shared/elpaca-lock.el | |||
| @@ -23,11 +23,6 @@ | |||
| 23 | ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" | 23 | ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" |
| 24 | (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) | 24 | (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) |
| 25 | :source "elpaca-menu-lock-file" :protocol https :inherit t :depth treeless :ref "933d1f36cca0f71e4acb5fac707e9ae26c536264")) | 25 | :source "elpaca-menu-lock-file" :protocol https :inherit t :depth treeless :ref "933d1f36cca0f71e4acb5fac707e9ae26c536264")) |
| 26 | (centaur-tabs :source "elpaca-menu-lock-file" :recipe | ||
| 27 | (:package "centaur-tabs" :repo "ema2159/centaur-tabs" :fetcher github :files | ||
| 28 | ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" | ||
| 29 | (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) | ||
| 30 | :source "elpaca-menu-lock-file" :protocol https :inherit t :depth treeless :ref "a790dc8fb6215e28685643e4d79252287adfde24")) | ||
| 31 | (cfrs :source "elpaca-menu-lock-file" :recipe | 26 | (cfrs :source "elpaca-menu-lock-file" :recipe |
| 32 | (:package "cfrs" :repo "Alexander-Miller/cfrs" :fetcher github :files | 27 | (:package "cfrs" :repo "Alexander-Miller/cfrs" :fetcher github :files |
| 33 | ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" | 28 | ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" |