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:
@@ -70,6 +70,11 @@
|
|||||||
(setq gptel-backend (gptel-make-gh-copilot "Copilot"))
|
(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
|
(use-package! typst-ts-mode
|
||||||
:init
|
:init
|
||||||
(add-hook 'typst-ts-mode-hook #'eglot-ensure)
|
(add-hook 'typst-ts-mode-hook #'eglot-ensure)
|
||||||
|
|||||||
@@ -138,6 +138,14 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
|||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: t
|
: 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
|
** Lang
|
||||||
*** Typst
|
*** Typst
|
||||||
|
|||||||
12
init.el
12
init.el
@@ -31,24 +31,24 @@
|
|||||||
;;deft ; notational velocity for Emacs
|
;;deft ; notational velocity for Emacs
|
||||||
doom ; what makes DOOM look the way it does
|
doom ; what makes DOOM look the way it does
|
||||||
doom-dashboard ; a nifty splash screen for Emacs
|
doom-dashboard ; a nifty splash screen for Emacs
|
||||||
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
;; (emoji +unicode) ; 🙂
|
;; (emoji +unicode) ; 🙂
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
;; indent-guides ; highlighted indent columns
|
;; indent-guides ; highlighted indent columns
|
||||||
( ligatures +extras) ; ligatures and symbols to make your code pretty again
|
( ligatures +extras) ; ligatures and symbols to make your code pretty again
|
||||||
;;minimap ; show a map of the code on the side
|
;;minimap ; show a map of the code on the side
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
;;nav-flash ; blink cursor line after big motions
|
nav-flash ; blink cursor line after big motions
|
||||||
;;neotree ; a project drawer, like NERDTree for vim
|
;;neotree ; a project drawer, like NERDTree for vim
|
||||||
ophints ; highlight the region an operation acts on
|
ophints ; highlight the region an operation acts on
|
||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
smooth-scroll ; So smooth you won't believe it's not butter
|
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
|
;; treemacs ; a project drawer, like neotree but cooler
|
||||||
unicode ; extended unicode support for various languages
|
unicode ; extended unicode support for various languages
|
||||||
(vc-gutter +pretty) ; vcs diff in the fringe
|
(vc-gutter +pretty) ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
;;window-select ; visually switch windows
|
window-select ; visually switch windows
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
workspaces ; tab emulation, persistence & separate workspaces
|
||||||
( zen +mixed-pitch-mode) ; distraction-free coding or writing
|
( zen +mixed-pitch-mode) ; distraction-free coding or writing
|
||||||
|
|
||||||
@@ -189,9 +189,9 @@
|
|||||||
:app
|
:app
|
||||||
;;calendar
|
;;calendar
|
||||||
;;emms
|
;;emms
|
||||||
everywhere ; *leave* Emacs!? You must be joking
|
;; everywhere ; *leave* Emacs!? You must be joking
|
||||||
;;irc ; how neckbeards socialize
|
;;irc ; how neckbeards socialize
|
||||||
(rss +org +youtube) ; emacs as an RSS reader
|
;; (rss +org +youtube) ; emacs as an RSS reader
|
||||||
|
|
||||||
:config
|
:config
|
||||||
literate
|
literate
|
||||||
|
|||||||
Reference in New Issue
Block a user