aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-08 11:17:49 -0500
committerCraig Jennings <c@cjennings.net>2026-06-08 11:17:49 -0500
commit9475188a866ffbec91732e88e472fcda9d064acd (patch)
tree92c4dd7d8034dfa1bcae5bbc528a3b79acdf01a1 /modules
parent2f0d225eec84c36ad468b2cba3aa5615f5c924cb (diff)
downloaddotemacs-9475188a866ffbec91732e88e472fcda9d064acd.tar.gz
dotemacs-9475188a866ffbec91732e88e472fcda9d064acd.zip
feat(term): open the agenda with F8 from inside ghostel buffers
F8 is bound globally to cj/main-agenda-display, but ghostel's semi-char mode forwarded it to the terminal program, so it did nothing inside a ghostel buffer. I added F8 to ghostel-keymap-exceptions and rebuilt the semi-char map, which lets it fall through to the global map, the path F10 and the F9 family already take.
Diffstat (limited to 'modules')
-rw-r--r--modules/term-config.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/term-config.el b/modules/term-config.el
index 2daebe9b2..f9c126357 100644
--- a/modules/term-config.el
+++ b/modules/term-config.el
@@ -237,12 +237,12 @@ run its own project-named tmux session instead of a bare, auto-named one.
;; rebuild is what actually lets the key through to `ghostel-mode-map' / the
;; global map. C-; and F12 are the prefix + toggle; the modified arrows are
;; windmove (S-arrows, focus) and buffer-move (C-M-arrows, swap), which the
- ;; ai-term workflow expects to work from inside an agent buffer. F10 and
- ;; C-F10 are global bindings (music-playlist toggle, server shutdown) that
- ;; reach Emacs by falling through to the global map once the semi-char map
- ;; stops forwarding them.
+ ;; ai-term workflow expects to work from inside an agent buffer. F8, F10 and
+ ;; C-F10 are global bindings (org agenda, music-playlist toggle, server
+ ;; shutdown) that reach Emacs by falling through to the global map once the
+ ;; semi-char map stops forwarding them.
(with-eval-after-load 'ghostel
- (dolist (key '("C-;" "<f12>" "<f10>" "C-<f10>"
+ (dolist (key '("C-;" "<f8>" "<f12>" "<f10>" "C-<f10>"
"S-<up>" "S-<down>" "S-<left>" "S-<right>"
"C-M-<up>" "C-M-<down>" "C-M-<left>" "C-M-<right>"))
(add-to-list 'ghostel-keymap-exceptions key))