Comments (8)
I don't see where the conflict is. gptel-send
is not bound to any key unless you're in a special buffer you create with M-x gptel
-- in which case you're not in latex-mode
.
from gptel.
Say, I'm in AUCTeX buffer, C-c RET
will not trigger gptel-send
, and as an alternative, now I rebound it to F2
.
from gptel.
Say, I'm in AUCTeX buffer,
C-c RET
will not triggergptel-send
, and as an alternative, now I rebound it toF2
.
Sorry, I don't follow. gptel-send
is not bound to any key, so you're free to bind it as you please, or just call M-x gptel-send
. So where is the conflict?
from gptel.
If so, why do you give the following description:
from gptel.
It's bound to C-c RET
in dedicated gptel buffers, i.e. one created using M-x gptel
. But this is a markdown or org buffer (depending on the value of gptel-default-mode
), not an AuCTeX buffer.
Of the two ways of using gptel (in a dedicated chat buffer vs queries in any buffer), may I ask how you use or would like to use gptel?
from gptel.
Of the two ways of using gptel (in a dedicated chat buffer vs queries in any buffer), may I ask how you use or would like to use gptel?
Both. They have their own advantages and disadvantages. Therefore, I am seeking a unified shortcut key convention.
from gptel.
I see. Do you have a suggestion for a keybinding that works in both contexts?
from gptel.
<f2>
is already globally bound in Emacs, though.
Both. They have their own advantages and disadvantages. Therefore, I am seeking a unified shortcut key convention.
I've found that C-c C-RET
is unbound in most major modes I've tried, that could be a viable option for you too.
In any case, I'm not going to bind gptel-send
in the global map, so the user is free to choose whatever key they would like. When gptel-mode
is active (in text, markdown or org-mode buffers) C-c RET
takes precedence and is simpler than C-c C-RET
, so I'm going to stick with that.
I'm closing this issue now, feel free to reopen if you think of a better keybinding.
from gptel.
Related Issues (20)
- ChatGPT Error: HTTP/2 400 HOT 5
- Release schedule for new versions HOT 2
- Add gemini backend support? HOT 3
- Adding directive argument to gptel-send; prompt presets HOT 1
- gptel should use model set in gptel-backend HOT 10
- `gptel-request` errors with gemini backend HOT 4
- curl -> gptel-curl--stream-filter buffer size HOT 2
- Cursor is stuck in transient menu HOT 9
- Support characters like textgen-web-ui has HOT 2
- Support memgpt (llm+memory) HOT 1
- ChatGPT error (HTTP/1.1 429 Too Many Requests) HOT 6
- No API key response error for local instance of ollama HOT 2
- json.exception.type_error.316: invalid UTF-8 byte at index 23: 0x28 HOT 1
- [FR] Optionally log all interactions with models HOT 3
- kagi fastgpt integration HOT 3
- defcustom missing type for gemini HOT 1
- Spurious OpenAI API Key requirement for Llama.cpp HOT 22
- In-buffer refactored code formatting HOT 3
- other backend HOT 3
- Name gptel buffer to reflect backend HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gptel.