Skip to content

Commit

Permalink
On Windows update yazi plugin config (sxyazi/yazi#1891)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carcuis committed Dec 17, 2024
1 parent 49e06ea commit 2a80ddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/yazi/keymap.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[manager]
prepend_keymap = [
{ on = "l", run = "plugin --sync smart-enter", desc = "Enter the child directory, or open the file" },
{ on = "l", run = "plugin smart-enter", desc = "Enter the child directory, or open the file" },
]
3 changes: 2 additions & 1 deletion .config/yazi/plugins/smart-enter.yazi/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---@ref https://yazi-rs.github.io/docs/tips/#smart-enter
--- @ref https://yazi-rs.github.io/docs/tips/#smart-enter
--- @sync entry
return {
entry = function()
local h = cx.active.current.hovered
Expand Down

0 comments on commit 2a80ddd

Please sign in to comment.