Closed Stebalien closed 5 months ago
Note: this code "works" but I haven't really tested the session saving part. Please test and make changes.
Open question: should we have a separate minor mode for "instant" mode? Or rename ellama-session-mode to something like ellama-buffer-mode?
I'm thinking "yes" because, personally, I'd want some additional keybindings in sessions. So, something like ellama-session-mode
and ellama-instant-mode
?
I'm thinking "yes" because, personally, I'd want some additional keybindings in sessions. So, something like ellama-session-mode and ellama-instant-mode?
Done.
Looks good, thank you. I will test it soon.
@Stebalien Thank you!
This fixes #61 and #60 by:
ellama-session-mode
activated in all session buffers and anellama-instant-mode
activated in all instant buffers.[remap keyboard-quit]
in those minor-modes instead of advising it.