refactor(config): Update Emacs configuration across multiple modules

- Prefix gptel backend names with "gptel-" for consistency
- Add denote-org-backlinks-for-heading keybinding
- Refine recentf exclusions for org journal files
- Remove org-default-priority setting
- Add gptel and denote backlink buffer rules to ibuffer
- Enable markdown-ts-mode for Emacs 31+ with truncate lines
- Add electric-pair support for equals sign
- Update popper and window management regexes for new buffer names
This commit is contained in:
User
2026-05-27 04:06:12 +08:00
parent ea8d9945fa
commit 61d09a4625
7 changed files with 31 additions and 22 deletions

View File

@@ -35,14 +35,17 @@
;; markdown
(use-package markdown-mode
:mode
("README\\.md\\'" . gfm-mode)
:init
(setq markdown-command "multimarkdown")
:bind
(:map markdown-mode-map
("C-c C-e" . markdown-do)))
("C-c C-e" . markdown-do))
:hook
(markdown-mode . toggle-truncate-lines)
:init
(setq markdown-command "multimarkdown")
(when (>= emacs-major-version 31)
(add-to-list 'major-mode-remap-alist
'(markdown-mode . markdown-ts-mode))
(add-hook 'markdown-ts-mode-hook #'toggle-truncate-lines)))
(provide 'init-prog)