From 84e5cdb277b8e96f730139e77d3ce7f5206c8b87 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 8 Jun 2026 11:17:49 -0500 Subject: 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. --- modules/term-config.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/term-config.el') diff --git a/modules/term-config.el b/modules/term-config.el index 2daebe9b..f9c12635 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-;" "" "" "C-" + (dolist (key '("C-;" "" "" "" "C-" "S-" "S-" "S-" "S-" "C-M-" "C-M-" "C-M-" "C-M-")) (add-to-list 'ghostel-keymap-exceptions key)) -- cgit v1.2.3