Support providing a line number when opening a file
@claudemuller is already working on this.
Since Jan 9, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reading the mini.extra module and reviewing the linked file-line plugins for how they parse <file_path>:<line_number> input. Confirm how mini.extra currently opens copied paths, then define completion as opening the file and positioning the cursor at the supplied line while preserving normal paths.
Written by the indexing model from the issue text.
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
Module(s)
mini.extra
Description
Maybe this is something that cold be added to mini.extra.
Sometimes I just copy/paste file paths from a linter/compiler output and that fails because what I copied has the format <file_path>:<line_number> it would be super convenient to have neovim just open the file and just to that line number.
There are some plugins for this already but maybe it's something Mini could incorporate to avoid the need for an extra plugin.
Some examples I've found:
- https://github.com/bogado/file-line
- https://github.com/lervag/file-line
- https://github.com/wsdjeg/vim-fetch
- https://github.com/dsully/nvim/blob/main/plugin/fileline.lua
- https://github.com/lewis6991/fileline.nvim
The last one is the one I'll be using for now.
- Dominant language
- Lua
- Stars
- 9.6k
- Forks
- 314
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvim-mini/mini.nvim
-
feature-request mini.icons
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
'mini.nvim' and multicursorMay be free again @justinmk claimed this 30 days ago, and no pull request is open. OpenALL neovim-upstream
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
mini.statuscolumn
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
feature-request mini.surround
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
new-module
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in nvim-mini/mini.nvim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
windwp/nvim-ts-autotag#266 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
folke/sidekick.nvim#362 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pterodactyl/game-eggs#657 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
stalker57241/tabview#10 ·