{"id":18187735,"url":"https://github.com/lordpax/vim-aicli","last_synced_at":"2026-05-09T16:50:35.085Z","repository":{"id":259476470,"uuid":"864703268","full_name":"LordPax/vim-aicli","owner":"LordPax","description":"A Vim plugin for AI-assisted text generation and translation using the aicli command-line tool.","archived":false,"fork":false,"pushed_at":"2025-01-02T18:37:50.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T16:41:33.746Z","etag":null,"topics":["aicli","claude","gpt","mistral","openai","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LordPax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-28T23:51:17.000Z","updated_at":"2025-01-02T18:37:54.000Z","dependencies_parsed_at":"2024-10-25T21:16:16.061Z","dependency_job_id":"213621ae-cc91-4074-8fdc-a857a74e8dda","html_url":"https://github.com/LordPax/vim-aicli","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"dab50033acd79bcdc56926157378fa5f725438c2"},"previous_names":["lordpax/vim-aicli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordPax%2Fvim-aicli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordPax%2Fvim-aicli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordPax%2Fvim-aicli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordPax%2Fvim-aicli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LordPax","download_url":"https://codeload.github.com/LordPax/vim-aicli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666006,"owners_count":20975785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aicli","claude","gpt","mistral","openai","vim"],"created_at":"2024-11-03T02:03:01.292Z","updated_at":"2025-10-04T10:03:59.408Z","avatar_url":"https://github.com/LordPax.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VimAicli\n\nA Vim plugin for AI-assisted text generation and translation using the aicli command-line tool.\n\n## Features\n\n- Generate AI-powered text directly within Vim\n- Translate text to different languages\n- Manage context and history for AI interactions\n- Integrate files and custom context into AI prompts\n\n## Installation\n\n1. Ensure you have [aicli](https://github.com/LordPax/aicli) installed and accessible in your PATH.\n2. Install the plugin using your preferred Vim plugin manager.\n\nFor example, using [vim-plug](https://github.com/junegunn/vim-plug):\n\n```viml\nPlug 'LordPax/vim-aicli'\n```\n\n## Configuration\n\nAdd these lines to your `.vimrc`, only if you want a different config for vim :\n\n```viml\nlet g:aicliprg = \"aicli\"\nlet g:ai_text_history = \"default\"\nlet g:ai_text_sdk = \"your_sdk\"\nlet g:ai_text_model = \"your_model\"\nlet g:ai_text_temp = \"0.7\"\n```\n\n## Usage\n\n### General\n\n- `:AiSdk [sdk]` - Set or display the SDK\n\n### Text Generation\n\n- `:AiText` - Generate text interactively\n- `:AiText [instruction]` - Generate text based on the instruction\n- `:[range]AiText [instruction]` - Use selected text as context for generation\n- `:AiText! [instruction]` - Use the entire buffer as context\n\n### Context Management and History for Text Generation\n\n- `:AiAddFile \u003cfile1\u003e [file2] ...` - Add files to context\n- `:AiAddContext [context]` - Add custom context\n- `:[range]AiAddContext` - Use selected text as context\n- `:AiHistoryClear` - Clear context history\n- `:AiHistoryList` - List available history names\n- `:AiHistory [name]` - Set or display history name\n\n### Translation\n\n- `:[range]AiTranslate \u003ctarget\u003e [source]` - Translate text\n\n## Examples\n\n```\n:AiText Explain quantum computing\n:'\u003c,'\u003eAiText Summarize this text\n:AiTranslate fr\n:'\u003c,'\u003eAiTranslate es en\n:AiAddFile README.md\n:AiAddContext We are working on a machine learning project\n:AiHistory my_project\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordpax%2Fvim-aicli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordpax%2Fvim-aicli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordpax%2Fvim-aicli/lists"}