From 7d30ca2b09178a4abfb26f96ac106a6ce2f68d2b Mon Sep 17 00:00:00 2001 From: Klotz Date: Wed, 3 Sep 2025 10:04:56 +0200 Subject: [PATCH] Enabled tab mode and added hotkeys --- emacs/init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index f621a91..21b246a 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -3,6 +3,7 @@ (tooltip-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) +(tab-bar-mode 1) (setq ring-bell-function 'ignore) (add-to-list 'default-frame-alist '(fullscreen . maximized)) (setq make-backup-files nil) @@ -130,8 +131,11 @@ "gg" '(magit-status :whichkey "magit") "o" '(:ignore o :which-key "open") "ot" '(vterm :which-key "vterm") - "t" '(:ignore t :which-key "toggles") - "tt" '(counsel-load-theme :which-key "choose theme") + "t" '(:ignore t :which-key "tabs") + "tt" '(tab-new :which-key "new tab") + "tf" '(tab-bar-select-by-name :which-key "switch tab using name") + "tc" '(tab-close :which-key "close tab") + "tr" '(tab-rename :which-key "rename tab") "p" '(projectile-command-map :which-key "projectile") "b" '(:ignore b :which-key "buffers") "bf" '(counsel-switch-buffer :which-key "find buffers")