feat(config): Add Centaur tabs keybindings for

Meow mode

Enable tabs module and add keybindings for navigating Centaur tabs in
Meow normal state. Map leader + w h/l to move backward/forward between
tabs. Also disable everywhere and rss modules to streamline configuration.
This commit is contained in:
Zelong Kuang
2025-12-09 01:04:15 +11:00
parent ae43aedfcb
commit 334bf234e9
3 changed files with 16 additions and 3 deletions

View File

@@ -70,6 +70,11 @@
(setq gptel-backend (gptel-make-gh-copilot "Copilot"))
)
(map! :map meow-normal-state-keymap
:leader "w l" 'centaur-tabs-forward)
(map! :map meow-normal-state-keymap
:leader "w h" 'centaur-tabs-backward)
(use-package! typst-ts-mode
:init
(add-hook 'typst-ts-mode-hook #'eglot-ensure)

View File

@@ -138,6 +138,14 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
#+RESULTS:
: t
*** Centaur tabs
#+begin_src emacs-lisp
(map! :map meow-normal-state-keymap
:leader "w l" 'centaur-tabs-forward)
(map! :map meow-normal-state-keymap
:leader "w h" 'centaur-tabs-backward)
#+end_src
** Lang
*** Typst

View File

@@ -43,7 +43,7 @@
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
smooth-scroll ; So smooth you won't believe it's not butter
;; tabs ; a tab bar for Emacs
tabs ; a tab bar for Emacs
;; treemacs ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages
(vc-gutter +pretty) ; vcs diff in the fringe
@@ -189,9 +189,9 @@
:app
;;calendar
;;emms
everywhere ; *leave* Emacs!? You must be joking
;; everywhere ; *leave* Emacs!? You must be joking
;;irc ; how neckbeards socialize
(rss +org +youtube) ; emacs as an RSS reader
;; (rss +org +youtube) ; emacs as an RSS reader
:config
literate