diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-05-12 18:34:08 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-05-12 18:34:40 +0100 |
commit | e4ef883fba99bbc673ec8ccafdadb0f9096a2229 (patch) | |
tree | 206cad1acdd4acaeaa21828dbd841fad4d23a9bf | |
parent | e11f6fab9eb28d02aef11976785915c1ded6d449 (diff) | |
download | ymh-emacs-e4ef883fba99bbc673ec8ccafdadb0f9096a2229.tar.gz ymh-emacs-e4ef883fba99bbc673ec8ccafdadb0f9096a2229.zip |
Load tab-bar.el after project.el
-rw-r--r-- | init.el | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -110,6 +110,10 @@ Should be one of `:white-split', `:modified' or `:default'") (unless (package-installed-p 'use-package) (package-install 'use-package)) +(eval-when-compile + (require 'use-package)) +(require 'bind-key) ;; if you use any :bind variant + ;; Load my local library of common emacs functions. (use-package ymh-emacs :load-path "ymh-emacs" @@ -329,6 +333,9 @@ https://yannherklotz.com")) (delight 'eldoc-mode nil "eldoc")) (use-package project + :demand t + :bind (:map project-prefix-map + ("m" . magit-project-status)) :custom (project-switch-commands '((project-find-file "Find file") @@ -336,12 +343,11 @@ https://yannherklotz.com")) (project-find-dir "Find directory") (project-vc-dir "VC-Dir") (magit-project-status "Magit") - (project-eshell "Eshell"))) - :config - (define-key project-prefix-map "m" #'magit-project-status)) + (project-eshell "Eshell")))) (use-package tab-bar :demand t + :after project :bind (:map tab-prefix-map ("D" . toggle-frame-tab-bar) ("p" . ymh-tabs-switch-project)) |