Skip to content

How to open yazi at a specific directory? #643

Answered by mikavilpas
moshpirit asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this is possible by using the lua api. Maybe something like:

vim.keymap.set("n", "<leader>yl", function ()
  require("yazi").yazi({}, "/my/path")
end)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@moshpirit
Comment options

Answer selected by moshpirit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants