mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-02 15:22:43 -08:00
Add `doom/toggle-scratch-buffer` and `doom/toggle-project-scratch-buffer` commands that toggle scratch buffer visibility, consistent with how `SPC o t` toggles the terminal popup. Also extract mode determination logic into `doom--scratch-buffer-initial-mode` helper to ensure toggle commands respect `doom-scratch-initial-major-mode` configuration (including mode inheritance when set to `t`). Keybindings updated to use toggle variants: - `SPC x` (evil) / `C-c f x` (emacs) for scratch buffer - `SPC p x` (evil) / `C-c p x` (emacs) for project scratch buffer Fix: #8604 |
||
|---|---|---|
| .. | ||
| default | ||
| literate | ||
| use-package | ||
| .doommodule | ||
| README.org | ||
:config
Description
Modules in this category provide sane defaults or improve your ability to configure Emacs. It is best to load these last.
Frequently asked questions
This category has no FAQs yet. Ask one?