docs(readme): replace manager with mgr

This commit is contained in:
MasouShizuka
2025-06-03 08:53:27 +08:00
parent 96af237d22
commit 7037dd5eee

View File

@@ -36,37 +36,37 @@ git clone https://github.com/MasouShizuka/projects.yazi.git ~/.config/yazi/plugi
Add this to your `keymap.toml`: Add this to your `keymap.toml`:
```toml ```toml
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "s" ] on = [ "P", "s" ]
run = "plugin projects save" run = "plugin projects save"
desc = "Save current project" desc = "Save current project"
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "l" ] on = [ "P", "l" ]
run = "plugin projects load" run = "plugin projects load"
desc = "Load project" desc = "Load project"
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "P" ] on = [ "P", "P" ]
run = "plugin projects load_last" run = "plugin projects load_last"
desc = "Load last project" desc = "Load last project"
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "d" ] on = [ "P", "d" ]
run = "plugin projects delete" run = "plugin projects delete"
desc = "Delete project" desc = "Delete project"
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "D" ] on = [ "P", "D" ]
run = "plugin projects delete_all" run = "plugin projects delete_all"
desc = "Delete all projects" desc = "Delete all projects"
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "m" ] on = [ "P", "m" ]
run = "plugin projects 'merge current'" run = "plugin projects 'merge current'"
desc = "Merge current tab to other projects" desc = "Merge current tab to other projects"
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "P", "M" ] on = [ "P", "M" ]
run = "plugin projects 'merge all'" run = "plugin projects 'merge all'"
desc = "Merge current project to other projects" desc = "Merge current project to other projects"
@@ -75,7 +75,7 @@ desc = "Merge current project to other projects"
If you want to save the last project when exiting, map the default `quit` key to: If you want to save the last project when exiting, map the default `quit` key to:
```toml ```toml
[[manager.prepend_keymap]] [[mgr.prepend_keymap]]
on = [ "q" ] on = [ "q" ]
run = "plugin projects quit" run = "plugin projects quit"
desc = "Save last project and exit the process" desc = "Save last project and exit the process"