Spurious n gets appended as prefix to name of file before opening it
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- vim
- Domain
- tooling
Research direction
Reproduce the issue in vim-tree using ~/Desktop/textfiles/grid-typesetting/ and the provided macOS, ARM64, iTerm2, Neovim, and Vim context. Start by tracing the file-opening path used when the spurious “n” is added, then verify that the intended file opens without the prefix in both Vim and Neovim.
Written by the indexing model from the issue text.
Description
A spurious n gets appended as prefix to the file name before opening it, hence not really opens the intended file.
This does not happen from all directories. It happens in a git directory I have on my system: ~/Desktop/textfiles/grid-typesetting/. All important files worked upon in the video below are in that directory:
Nvim (same problem also occurs on latest vim):
NVIM v0.5.0-dev+nightly-298-g0a653f7ab
Build type: Release
LuaJIT 2.1.0-beta3
System:
macOS BigSur 11.4 ARM64 (Apple M1 chip)
Terminal (didn't try on other terminals):
iTerm2 (3.4.8. i.e. latest)
- Dominant language
- Vim Script
- Stars
- 60
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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 mhinz/vim-tree
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
siderolabs/terraform-provider-talos#414 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openvinotoolkit/openvino_notebooks#3665 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
JuliaComputing/jh#63 · 1 comment ·
-
namespace operations
Difficulty 1/5 Under an hour Newbie friendliness 78/100
EclipseFdn/open-vsx.org#13488 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
joestump/claude-plugin-sdd#263 ·
Maintainers usually reply within 1 day