feat(core): eagerly load Yazi session module for remote edit support
This commit is contained in:
1 parent
5dff0e2eb8
commit
4f82b1fca6
1 file changed
+5
@@ -16,3 +16,8 @@ if ok then
|
|||||||
desc = "Previous reference",
|
desc = "Previous reference",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Define _G.EditFromYazi eagerly: the yazi opener (~/.local/bin/yazi-nvim-open)
|
||||||
|
-- calls it via --remote-expr from ANY yazi running in an nvim terminal, even
|
||||||
|
-- one started before the session keymaps ever fired.
|
||||||
|
require "config.yazi_session"
|
||||||
Reference in new issue
Block a user