Skip to content
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

nvim-tree怎么识别项目目录? #27

Open
ApolloLhq opened this issue Dec 22, 2023 · 2 comments
Open

nvim-tree怎么识别项目目录? #27

ApolloLhq opened this issue Dec 22, 2023 · 2 comments

Comments

@ApolloLhq
Copy link

ApolloLhq commented Dec 22, 2023

我是从小册过来的,之前用的dashboard可以识别项目根目录,现在的这个好像没有,主目录也没有项目的选项了。每次只能打开某个文件,然后目录树就是从根出发的。我打开一个go项目,他进入依赖的源码再返回之后,目录树就会变成项目根目录。不是很清楚其中的机制。如果有识别项目的方法,那么telescope查询也会快很多吧

@nshen
Copy link
Owner

nshen commented Dec 26, 2023

我都是和vscode一样,进入目录然后 nvim . 打开当前目录,暂时没有遇到从根目录出发的问题。

@jonahfang
Copy link

推荐 https:/github.com/jonahfang/cd-project.nvim.git (my fork).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants