From f8d48cc50badb8a98f4fd6e0dfaf0beeb9f30eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Mon, 31 Jul 2023 09:39:53 -0700 Subject: emacs: tab-bar revamp in rul-wm --- .emacs.d/rul-init.d/tabbar.el | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .emacs.d/rul-init.d/tabbar.el (limited to '.emacs.d/rul-init.d') diff --git a/.emacs.d/rul-init.d/tabbar.el b/.emacs.d/rul-init.d/tabbar.el deleted file mode 100644 index 3025828..0000000 --- a/.emacs.d/rul-init.d/tabbar.el +++ /dev/null @@ -1,22 +0,0 @@ -(global-set-key (kbd "C-") 'tab-bar-switch-to-next-tab) -(global-set-key (kbd "C-") 'tab-bar-switch-to-prev-tab) - -(setq tab-bar-show t) - -(defun my/project-create-tab () - (interactive) - (tab-bar-new-tab) - (magit-status)) - -(setq project-switch-commands #'my/project-create-tab) - -(defun my/switch-to-tab-buffer () - (interactive) - (if (project-current) - (call-interactively #'projectile-switch-to-buffer) - (call-interactively #'switch-to-buffer))) - -(global-set-key (kbd "C-x b") #'my/switch-to-tab-buffer) - -;; Turn on tab bar mode after startup -(tab-bar-mode 1) -- cgit v1.2.3