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

Joshuto does not work #38

Open
techloghub opened this issue Jul 19, 2023 · 2 comments
Open

Joshuto does not work #38

techloghub opened this issue Jul 19, 2023 · 2 comments

Comments

@techloghub
Copy link

techloghub commented Jul 19, 2023

Hi, I'm using this plugin in my neovim on the macos platform. I can open it in using Ranger, but when I run :Joshuto, it doesn't work. The pop-up flashed and then nothing happened.

These are informations of my enviorment:

os: macos 13.4.1
neovim: v0.9.1
isOn/fm-nvim: commit 8e6a770
joshuto: 0.9.5

@Artexxx
Copy link

Artexxx commented Aug 19, 2023

Check out joshuto --help

Desktop_230808_2135

And norm works
Desktop_230808_2143

In ~.local/share/nvim/lazy/fm-nvim/lua/fm-nvim.lua

function M.Joshuto(dir)
    dir = dir or "."
    if config.ui.default == "float" then
        createWin(config.cmds.joshuto_cmd .. " --choosefiles /tmp/fm-nvim --path " .. dir, "l")
    elseif config.ui.default == "split" then
        createSplit(config.cmds.joshuto_cmd .. " --choosefiles /tmp/fm-nvim --path " .. dir, "l")
    end
end

@Beethoven-n
Copy link

Beethoven-n commented Sep 28, 2023

this is a stack exchange level answer. how do you actually apply this to a config??

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