header line tweak
This commit is contained in:
parent
8493f5c880
commit
7257bf3ffa
|
|
@ -18,9 +18,14 @@
|
|||
(text-mode)
|
||||
(use-local-map (copy-keymap text-mode-map))
|
||||
(local-set-key (kbd "C-c C-c") 'ellama-capture-finalize)
|
||||
(local-set-key (kbd "C-c C-k") 'ellama-capture-abort))
|
||||
(local-set-key (kbd "C-c C-k") 'ellama-capture-abort)
|
||||
(local-set-key (kbd "C-c f") 'ellama-context-add-file)
|
||||
(local-set-key (kbd "C-c i") 'ellama-context-add-info-node)
|
||||
(setq header-line-format
|
||||
(substitute-command-keys
|
||||
"(ellama-capture) C-c C-c: send, C-c C-k: abort, C-c f: add file, C-c i: add info node")))
|
||||
(pop-to-buffer buf)
|
||||
(message "Type your message, then C-c C-c to send or C-c C-k to abort")))
|
||||
(message "Type your message, then use the commands shown in the header line")))
|
||||
|
||||
(defun ellama-capture-finalize ()
|
||||
"Send the content of the Ellama input buffer to Ellama and kill the buffer."
|
||||
|
|
|
|||
Loading…
Reference in New Issue