diff --git a/README.md b/README.md index 577a2c4..b49baab 100644 --- a/README.md +++ b/README.md @@ -33,22 +33,23 @@ the bookmarks are saved in DDS's state file (`~/.local/state/yazi/.dds` on Linux Add this to your `keymap.toml`: ```toml -[[manager.prepend_keymap]] +# If your yazi version is lower than v25.5.28, repleace "mgr" by "manager". +[[mgr.prepend_keymap]] on = [ "m" ] run = "plugin bookmarks save" desc = "Save current position as a bookmark" -[[manager.prepend_keymap]] +[[mgr.prepend_keymap]] on = [ "'" ] run = "plugin bookmarks jump" desc = "Jump to a bookmark" -[[manager.prepend_keymap]] +[[mgr.prepend_keymap]] on = [ "b", "d" ] run = "plugin bookmarks delete" desc = "Delete a bookmark" -[[manager.prepend_keymap]] +[[mgr.prepend_keymap]] on = [ "b", "D" ] run = "plugin bookmarks delete_all" desc = "Delete all bookmarks"