-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: improving the default value of path #3209
Comments
I thought about it , but @tpope is against it, so I wonder how much other opposition there would be. I do think the current default is really unpleasant for the vast majority of users, they probably give up on |
I would be interested in hearing some dissenting opinions. I know from my experience starting out with Vim both the |
Specifically I am against it because Breaking large swaths of Vim in support of something as asinine as a janky fuzzy finder is nothing short of unconscionable. Make a different feature if you must, but for the love of Bram don't fix what isn't broken. |
I would be okay with flattening to a simple |
@tpope Thanks for clarifying. Does it "break" |
This could result in a security exploit with a little imagination, bad luck and root user firing up neovim in an unknown dir. I realize that's a bit of hyperbole but changing something as basic and dependable as path as a default is begging for all sorts of surprise behavior 2 and 3 degrees away from the change. |
@justinmk yes, plus potentially make things unusably slow, and perhaps more importantly raises the question of what file type plugins should do. Attempt to accommodate 2 vastly divergent use cases? Clobber with the traditional interpretation? Give up? |
Thanks. It's not a clear win so this is a no-go. Also for Bram's love. What could be potentially discussed in another issue is a default mapping to something like |
Reading on the topic: - neovim/neovim#3209 - https://twitter.com/tpope/status/612991667751264256 I tried setglobal at first, but was getting issues with it.
Reading on the topic: - neovim/neovim#3209 - https://twitter.com/tpope/status/612991667751264256 I tried setglobal at first, but was getting issues with it.
I propose addition of
**
to the default value of path, so commands likegf
and:find
search downward (relative to present working directory) for the file you are looking for. I personally use this setting in my configuration, and to me it always feels like it should be a default.To read more about
**
you can look at:h file-searching
The text was updated successfully, but these errors were encountered: