not-manu/filemention.nvim — explained in plain English
Analysis updated 2026-06-24
Reference repo files inside a prompt you are drafting for an AI coding tool
Insert markdown links to project files while writing notes in Neovim
Mention specific files in a git commit message body without leaving the editor
Pair with fff.nvim to get frecency-ranked file mentions across a large repo
| not-manu/filemention.nvim | bjarneo/omarchy-ochre-theme | fullband7/openwrt-theme-foxhound | |
|---|---|---|---|
| Stars | 58 | 16 | 16 |
| Language | Lua | Lua | Lua |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 1/5 | 3/5 |
| Audience | developer | general | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires one of nvim-cmp or blink.cmp already configured, and only activates in markdown, text, and gitcommit by default.
This is a small plugin for Neovim, the keyboard-driven text editor that descends from Vim. Its job is narrow: when you are typing in insert mode and press the at sign, it pops up a fuzzy file picker. You pick a file from your project, and the plugin inserts a path reference like @path/to/file into your text. The README frames this as a native way to mention files inside prompts, notes, and git commit messages, similar to how chat tools let you reference files with the at sign. The author lists three target uses: writing prompts for AI coding tools, taking notes, and writing commit messages. The completion source plugs into either of the two main Neovim completion engines, nvim-cmp or blink.cmp. Installation uses lazy.nvim, a popular package manager for Neovim, with a one-line entry. By default the plugin only activates in markdown, text, and gitcommit files, which keeps it from popping up while you write real code. You can override this with a filetypes setting if you want it everywhere. Configuration options are listed in the README. You can change the trigger character from at sign to something else, choose whether the root is the git repo or the current working directory, respect or ignore gitignore rules, include hidden files, switch the inserted format between a bare path and a markdown link, and cap the number of items shown. A bracket-at trick is documented: typing left bracket then at sign inserts a proper markdown link like [@README.md](README.md), which is nicer when you are writing prose. For file discovery the plugin uses fd if available, then rg, then a pure Lua fallback using vim.fs.dir. There is optional integration with fff.nvim, a separate Neovim file picker that adds frecency ranking, typo resistance, and recents on top. If fff is not installed the plugin silently falls back to the other finders. The project has no dependencies beyond your completion engine and is released under the MIT license.
A small Neovim plugin that pops up a fuzzy file picker when you type the at sign in insert mode and inserts a path reference, aimed at prompts, notes, and commit messages.
Mainly Lua. The stack also includes Lua, Neovim, nvim-cmp.
MIT, use and modify freely as long as the copyright notice is kept.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.