diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-08 11:17:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-08 11:17:49 -0500 |
| commit | 84e5cdb277b8e96f730139e77d3ce7f5206c8b87 (patch) | |
| tree | 0f86bfc3ff37c51b868cde78e79dc695288d397b /modules/term-config.el | |
| parent | 560cacd91f0120225c4b795aaabebbf0598df918 (diff) | |
| download | dotemacs-84e5cdb277b8e96f730139e77d3ce7f5206c8b87.tar.gz dotemacs-84e5cdb277b8e96f730139e77d3ce7f5206c8b87.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/term-config.el')
| -rw-r--r-- | modules/term-config.el | 10 |
1 files changed, 5 insertions, 5 deletions
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-;" "<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)) |
