ahmedkhalf / project.nvim

The superior project management solution for neovim.
Apache License 2.0
1.35k stars 131 forks source link

Prevent file_finder from opening on project selection? #134

Open tidaeu opened 1 year ago

tidaeu commented 1 year ago

I am new to neovim / lua so this might be a dumb question.

Is it possible to set some configuration to not open file finder when I open a recent project? I would much prefer neotree, oil or dashboard to open up instead of Telescope file_finder assuming successful change of working directory.

I found where in the code I can change this but it's pretty hacky but I guess it works?

image

config:

image
cweagans commented 11 months ago

I ran into this problem too. I'm using this patch: https://github.com/cweagans/dotfiles/blob/main/dot_config/nvim/patches/project.nvim.patch in my config.

Patch is applied with an autocmd in my lazyvim setup, but you could apply it manually if you wanted to as well: https://github.com/cweagans/dotfiles/blob/391c7fdfa8037e63b86c182c9000f5dddf54db1d/dot_config/nvim/lua/config/autocmds.lua#L22-L55