From 2c78bb99b0f48907bccbea0dc2e6f6291ab43130 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Fri, 25 Oct 2024 16:50:35 +0200 Subject: [PATCH] Define new key binding to switch tabs --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 7499bcbe..52829d91 100755 --- a/init.el +++ b/init.el @@ -183,6 +183,8 @@ :box '(:line-width (1 . 8) :style flat-button)) (use-package tab-bar + :bind (("M-[" . tab-bar-switch-to-prev-tab) + ("M-]" . tab-bar-switch-to-next-tab)) :custom (tab-bar-auto-width nil) (tab-bar-auto-width-max '(250 25)) @@ -194,12 +196,10 @@ (set-face-attribute 'tab-bar nil :inherit 'mode-line-inactive :background (face-attribute 'mode-line-inactive :background)) - (set-face-attribute 'tab-bar-tab nil :inherit 'mode-line :foreground (face-attribute 'mode-line :foreground) :box '(:line-width 8 :style flat-button)) - (set-face-attribute 'tab-bar-tab-inactive nil :inherit 'mode-line-inactive :box '(:line-width 8 :style flat-button)))