Skip to content

Commit

Permalink
Deprecate the --sync option to comply with sxyazi/yazi#1891
Browse files Browse the repository at this point in the history
  • Loading branch information
aresler committed Dec 12, 2024
1 parent 9f7ce11 commit 1d61d59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Then bind it for `l` key, in your `keymap.toml`:
```toml
[[manager.prepend_keymap]]
on = [ "l" ]
run = "plugin --sync fast-enter"
run = "plugin fast-enter"
desc = "Enter the subfolder faster, or open the file directly"
```
2 changes: 2 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
--- @sync entry

local function is_folder_only(path)
local p = io.popen("ls -l " .. ya.quote(path), "r")
if p == nil then
Expand Down

0 comments on commit 1d61d59

Please sign in to comment.