Closed liangkarl closed 3 months ago
Finnally, the subdirectory list has changed by using this configuration
extensions = {
cder = {
previewer_command = 'tree -L 1 -F --dirsfirst -h',
pager_command = 'cat',
dir_command = { 'fd', '-I', '--type=d', '.', function()
vim.fn.getcwd()
end },
}
}
Hi,
My configuration is like this
What I want to do is to search all the subdirectories under current
cwd
. When I changecwd
such as:cd
, I could get different subdirectory entries. However, no matter what kind of the search path likegetcwd()
orexpand('%:p:h')
, the "Results" list is always the same, showing the subdirectories under the path where I opennvim
. Does anyone know how to make it change? Thanks