{"id":28903521,"url":"https://github.com/brucelau-github/aim","last_synced_at":"2026-04-24T12:07:21.596Z","repository":{"id":300244935,"uuid":"1005648813","full_name":"brucelau-github/aim","owner":"brucelau-github","description":"Ollama-Vim Plugin ","archived":false,"fork":false,"pushed_at":"2025-06-22T18:36:42.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-24T12:07:17.816Z","etag":null,"topics":["ai","ollama","vim","vim-plugin"],"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/brucelau-github.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,"zenodo":null}},"created_at":"2025-06-20T15:12:54.000Z","updated_at":"2025-06-22T18:36:45.000Z","dependencies_parsed_at":"2025-06-20T16:41:25.317Z","dependency_job_id":"cef896b4-7734-4597-8603-e1797b5c9346","html_url":"https://github.com/brucelau-github/aim","commit_stats":null,"previous_names":["brucelau-github/aim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brucelau-github/aim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucelau-github%2Faim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucelau-github%2Faim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucelau-github%2Faim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucelau-github%2Faim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brucelau-github","download_url":"https://codeload.github.com/brucelau-github/aim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucelau-github%2Faim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","ollama","vim","vim-plugin"],"created_at":"2025-06-21T12:02:56.312Z","updated_at":"2026-04-24T12:07:21.591Z","avatar_url":"https://github.com/brucelau-github.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis plugin leverages the ollama framework to utilize a local Large Language Model (LLM) running on your machine to deliver its AI capabilities. The LLM's data remains local, ensuring fast processing and privacy.\n\nTo install ollama, please consult their official guidelines available at [https://ollama.com/](https://ollama.com/).\n\nIt is highly recommended that you install the `curl` package on your system. Installing `curl` will grant this plugin access to REST endpoints for Ollama, resulting in a substantial improvement in response times.\n\n## Integration with Vim\n\nThe plugin can be integrated into Vim using Vundle or other compatible bundle plugins.\n\n```bash\ncall vundle#begin()\n...\nPlugin 'brucelau-github/aim'\ncall vundle#end()\n```\n\n## Commands\n\nThe following commands are available:\n\n- `:Aask`: Sends the current line or a select range to ollama. Like a ask question.\n- `:Arewrite`: Rewrites the current paragraph with suggested corrections.\n- `:Aenrich`: Expands the context, generating longer and error-free content.\n- `:Atalk`: Allows users to input their own instructions or prompts for the LLM.\n- `ctrl-j to Autocomplete in insert mode`: this will provide a list of 5 possible strings to complete your thought.\n\n## Configuration\n\nThe plugin's functionality is currently in a work-in-progress (WIP) state. Future updates are anticipated, although detailed plans remain under consideration due to time constraints.\n\nFor reference, this plugin employs the llama3.2 model, which has demonstrated relative performance and efficiency while still being compact enough to run on most modern laptops.\n\nOptional you use a different model define in your .vimrc script.\n\n```vim\ng:aim_ollama_model = 'llama3.2'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucelau-github%2Faim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucelau-github%2Faim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucelau-github%2Faim/lists"}