How to Yank the Buffer File Name in Neovim to Your Clipboard How to Yank the Buffer File Name in Neovim to Your Clipboard Hi there! If you're a Neovim user like me and you frequently use AI-powered plugins like code-ai.nvim , you probably find yourself needing to yank file names into prompts or chats pretty often. The Problem: Jumping Back and Forth to Yank File Names When using code AI or other plugins to enhance your workflow, you might often need the exact filename—or path—of the buffer you're currently editing. Yanking file paths or names seems trivial at first, but it can quickly become cumbersome. Not to mention distracting. Typically, you’d have to exit Neovim or switch to another shell window just to remember the exact file or path you're editing. Needless to say, this interrupts the smooth workflow that makes using Neovim enjoyable in the first place. The Solution: Neovim Keybindings to the Rescue! I grew tired of having to pause my workfl...
Finding the Perfect "System Instructions" for Your LLM-Enhanced Codebase Workflow Hey developers! Today, let's dive into something that many of us face when using Large Language Models (LLMs) in our coding workflow — how to craft the perfect "system instructions" so your LLM can seamlessly assist you with your codebase. If you're like me, you've probably experimented with tools integrating AI capabilities in your workflow. Personally, I built a custom Neovim plugin called code-ai.nvim , designed especially to help me interact with LLMs efficiently. The plugin scans relevant files, bundles them with clear instructions, and sends everything neatly to the LLM. Cool, right? My Neovim Plugin: code-ai.nvim code-ai.nvim was built with a simple yet powerful objective: automate file scanning and sending clear context plus instructions straight to an LLM assistant. It helps me navigate large and complex codebases, quickly pinpoint bugs, refactor legac...