Closed p00f closed 4 years ago
what fuzzyfind plugin do you used? vim-clap or fzf?
what fuzzyfind plugin do you used? vim-clap or fzf?
vim-clap
what do you expect? only show the old files in current folder?
Video: https://imgur.com/rYkIEOP
I expect the output of :pwd
to be /home/chinmay/.config
instead of /home/chinmay
I think it's not problem with dashboard-nvim. because you open vim in ~
path.
@glepnir vim-startify works correctly: https://imgur.com/p7ykiMo
Ok. I will look at it.
@PitcherTear22 The startify will do the lcd
command when you open file in startify. dashboard-nvim use the command of fuzzyfind plugins. so we can check what should we do in vim-clap command Clap history
.
Can you test it with latest commit?
Can you test it with latest commit?
Ok just a minute
It is fixed, thanks!
@PitcherTear22 But it will has a problem with defx. because it change the pwd to current file dir not work dir.
Can you make it a config option then ?
Like g:dashboard#change#pwd
(which defaults to 1)
@PitcherTear22 What file explorer do you used?
new option called let g:dashboard_change_to_dir
default is 0 ,enable is 1
ok
@PitcherTear22 What file explorer do you used?
I don't understand?
When opening recent files,
pwd
is home (/home/chinmay
) instead of the directory of the current fileHow to reproduce: Select any file from "recently opened" menu, then do
:pwd
Expected:pwd
is the directory of the opened file