1
0
Fork 0

Minor changes

This commit is contained in:
Bram Schoenmakers 2024-04-10 17:50:55 +02:00
parent 423f449fe7
commit 9dc6eaf7ca
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -176,11 +176,11 @@ In order to be consistent with all keymaps, and to avoid clashes, the functional
(keymap-set embark-url-map "K" embark-kagi-url-map)
#+end_src
** Key bindings
** FastGPT shell key bindings
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.
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 (which you can undo, actually).
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: