Open azinsharaf opened 1 year ago
What is your configuration?
i haven't set any configuration for lf
. Below is my neovim configuration (which is Astronvim
config.)
What happens if you run this :lua require('lf').start()
?
the exact same message. Only single file or directory is allowed.
@lmburns Have you been able to reproduce this? Do you know if the plugin works on Windows? Since lf
is cross platform (comparing to ranger
) that would be great if lf.nvim
supports Windows. That is the main reason i've switched from Ranger
to lf
.
this is my configuration and still getting the same error mentioned above.
return {
"lmburns/lf.nvim",
enabled = true,
event = "VeryLazy",
dependencies = {"plenary.nvim", "toggleterm.nvim"},
config = function()
-- This feature will not work if the plugin is lazy-loaded
vim.g.lf_netrw = 1
require("lf").setup(
{
escape_quit = false,
border = "rounded",
-- highlights = {FloatBorder = {guifg = require("kimbox.palette").colors.magenta}}
}
)
vim.keymap.set("n", "<C-o>", ":Lf<CR>")
end,
}
I will test out this sometime by Monday and try and see about windows compatibility issues. I don't have a way to test the results though, so I will have you do that.
I am getting the same error on Windows. Would love to see lf working within neovim as it does on Linux.
I'd like to know if you've found a fix for this issue, I've experienced the same issues. I've got neovim and lf installed via scoop package manager on windows. If not I'll dig into this myself when I've got time.
i haven't found a solution yet.
me niether but i looked for alternatives and i have to say yazi looks somewhat cleaner and very much similar to lf and i am happy with it for now. it integrates into neovim with tfm.nvim w/o issues for me. working with that with windows-git-bash, windows wsl and linux.
i tried yazi but it had issue with my neovim config and terminal. i have no idea how to fix it.
EDIT: I was able to fix the PowerShell issue. I can use Yazi. no issue! https://www.reddit.com/r/neovim/comments/1ed3qeb/floating_window_and_powershell_issue/
Hi. I am getting the following error when running
:Lf
command in neovim. Any idea?Only single file or directory is allowed.