obsidian-copilot-auto-completion
j0rd1smit

This plugin adds a Copilot-like auto-completion to Obsidian. It uses large language models (LLMs) to generate text based on the n characters before and after your cursor. It will show the suggested completion in transparent text next to your cursor. You can then press Tab to insert the entire suggestion, or the right arrow key to insert part of the suggestion. Additionally, you can press Escape or move the cursor to ignore the suggestion. The plugin supports multiple API providers, such as OpenAI, Azure OpenAI and Ollama.
- Fill-in-the-Middle Auto-Completion: The plugin provides suggestions based on the n characters before and after your cursor, displaying the proposed text as transparent overlay near your cursor, tailored to fit the current context. Want to know how it works? See the how does the model work in detail? documentation.
- Context-Aware Suggestions: The suggestions adapt to the current writing context. For instance, the plugin will offer text suggestions in paragraphs, code in code blocks, and LaTeX formulas in math blocks, among others. Want to know how it does this? See the context aware few shot examples documentation.









