tom-doerr / vim_codex

Supercharge your Vim editor with AI-powered code completion using OpenAI Codex. Boost productivity and save time with intelligent suggestions.
MIT License
258 stars 28 forks source link

More flexibility #10

Open julkhami opened 2 years ago

julkhami commented 2 years ago

I have had some success with some prompts, actually.

Maybe for a smoother workflow you could pass only text highlighted in visual mode to GPT-3. That way you could keep calling it. Right now it seems like you kind of max out if the program reaches a certain length.

Or, how do you manage to use it continuously within a single file?

tom-doerr commented 2 years ago

The text before and above your cursor is passed to the model. What do you mean by 'max out`?

VictorTaelin commented 2 years ago

I think he means that if your code file is too large, you won't left much space for GPT's output.