mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-16 06:32:51 +02:00
update yazi conf
This commit is contained in:
parent
6e62a037e6
commit
51affb6489
3 changed files with 31 additions and 293 deletions
6
dot_config/yazi/plugins/smart-enter.yazi/init.lua
Normal file
6
dot_config/yazi/plugins/smart-enter.yazi/init.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
entry = function()
|
||||
local h = cx.active.current.hovered
|
||||
ya.manager_emit(h and h.cha.is_dir and "enter" or "open", { hovered = true })
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue