Comments (3)
If it errors with E492: Not and editor command: Gen
then it is likely that lazy did not load the plugin. You should make sure that the config is right, and there is no startup errors.
My config that works for reference:
{
"David-Kunz/gen.nvim",
opts = {
model = "mistral:7b", -- The default model to use.
display_mode = "split", -- The display mode. Can be "float" or "split".
show_prompt = true, -- Shows the Prompt submitted to Ollama.
show_model = true, -- Displays which model you are using at the beginning of your chat session.
},
cmd = "Gen",
}
Try setting the cmd
, also you do not necessarily need to write all of that config because most of them are default options.
from gen.nvim.
Thank you for the help, @life00 ! I think this should solve the issue, hence closing.
from gen.nvim.
Thanks @life00 . It's working.
from gen.nvim.
Related Issues (20)
- Formatting in gen.nvim tab HOT 1
- Feature Request: LM Studio Support HOT 1
- No output if the model is missing HOT 6
- Receiving error from ollama server after first successful prompt and response HOT 3
- Improve markdown rendering HOT 2
- How to close the modal window? HOT 5
- Error: Unexpected EOF HOT 2
- Not trigger the ollama HOT 1
- `$text` only grab a single character into prompt HOT 10
- [enhancement] hide diagnostic in the new buffer gen.nvim on split view HOT 4
- extract not extracting from response HOT 2
- I got error when I ran Gen HOT 3
- [Question] Option to show nothing and just replace the selected text HOT 4
- [Question] Access the whole buffer/file content HOT 4
- [Feature Request] [QoL] Add an option to split horizontally instead of vertically if the window height is greater than the width HOT 1
- So after a while of using, the prompt displays nothing. HOT 2
- Error with `replace=true` on empty line HOT 4
- Bring back `generate` support endpoint HOT 3
- The plugin is not cutting out the stats from ollama
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 gen.nvim.