1
0
Fork 0

Mention the help command, or suggest to use describe-keymap function

This commit is contained in:
Bram Schoenmakers 2024-01-14 10:13:47 +01:00
parent 8b02973ad3
commit 75950967b9
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -172,7 +172,9 @@ Add the following to your configuration to trigger summary functionality with ke
** Key bindings
Since the FastGPT shell inherits from =comint-mode= indirectly, many key bindings are also inherited. One of those bindings is =C-c C-o=, which flushes the last output. However, this binding is used in =org-mode= to open a URL an point. Typical FastGPT results include URLs so one may be tempted to type =C-c C-o= to browse the URL, only to have the output erased.
Since the FastGPT shell inherits from =comint-mode= indirectly, many key bindings are also inherited. Enter the =help= command in the shell to get more info, or run =describe-keymap= on =fastgpt-shell-mode-map=.
One of those bindings is =C-c C-o=, which flushes the last output. However, this binding is used in =org-mode= to open a URL an point. Typical FastGPT results include URLs so one may be tempted to type =C-c C-o= to browse the URL, only to have the output erased.
If you recognize this confusion, you may want to add the following line to your configuration file to shadow the =comint-mode= binding with something more appropriate: