{"repo":"JosefAlbers/vim-lm","free":true,"listed":false,"github":"https://github.com/JosefAlbers/vim-lm","clone":"git clone https://github.com/JosefAlbers/vim-lm.git","description":"AI Copilot for Vim/NeoVim","language":"Python","stars":267,"topics":["copilot","llm","mlx","mlx-lm","vim","vim-plugin","neovim","neovim-plugin","autocomplete","chat"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"VimLM - AI-Powered Coding Assistant for Vim/NeoVim VimLM brings the power of AI directly into your Vim workflow. Maintain focus with keyboard-driven interactions while leveraging AI for code generation, refactoring, and documentation. Get started quickly with the tutorial. Features - Native Vim Integration - Split-window responses & intuitive keybindings - Offline First - 100% local execution with MLX-compatible models - Contextual Awareness - Integrates seamlessly with your codebase and external resources - Conversational Workflow - Iterate on responses with follow-up queries - Project Scaffolding - Generate and deploy code blocks to directories - Extensible - Create custom LLM workflows with command chains Requirements - Apple Silicon (M-series) - Python v3.12.8 - Vim v9.1 or NeoVim v0.10.4 Quick Start Smart Autocomplete Basic Usage Key Binding Mode Action ------------- --------- ----------------------------------------- Ctrl-l Insert Generate code suggestion Ctrl-p Insert Insert generated code Ctrl-j Insert Generate and insert code Example Workflow : 1. Place cursor where you need code 2. Use Ctrl-j to autocomplete Repository-Level Code Completion Option Description ------------ ------------------------------------------ --repo Paths to include as repository context The --repo option enhances autocomplete by providing repository-level context to the LLM. Example Workflow : 1. Launch VimLM with repo context: vimlm main.py --repo utils/ 2. In Insert mode, place cursor where ","default_branch":null,"files":null,"tree":[],"storefront":"/r/JosefAlbers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JosefAlbers/vim-lm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}