Add 'delete' and 'deleteall' commands

This commit is contained in:
Diogo Duarte
2024-02-09 19:17:17 +00:00
parent 5424f5431c
commit be45ad7367
2 changed files with 35 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# Bookmarks.yazi
Simple implementation of [vi-like marks](https://neovim.io/doc/user/motion.html#mark-motions) for [yazi](https://github.com/sxyazi/yazi).
A [Yazi](https://github.com/sxyazi/yazi) plugin that adds the basic functionality of [vi-like marks](https://neovim.io/doc/user/motion.html#mark-motions).
```toml
[[manager.prepend_keymap]]
@@ -15,3 +15,17 @@ on = [ "'" ]
exec = "plugin bookmarks --sync --args='jump'"
desc = "Jump to a bookmark"
```
```toml
[[manager.prepend_keymap]]
on = [ "b", "d" ]
exec = "plugin bookmarks --sync --args='delete'"
desc = "Jump to a bookmark"
```
```toml
[[manager.prepend_keymap]]
on = [ "b", "D" ]
exec = "plugin bookmarks --sync --args='deleteall'"
desc = "Jump to a bookmark"
```