From 7ef1a95da1e203df8a2a61c48c2fae1b0fc61cc1 Mon Sep 17 00:00:00 2001 From: nralbrecht Date: Tue, 27 Aug 2024 20:04:01 +0200 Subject: [PATCH] Add bookmark_file_pick_mode option to README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a1a259b..da01379 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ require("bookmarks"):setup({ last_directory = { enable = false, persist = false }, persist = "none", desc_format = "full", + bookmark_file_pick_mode = "hover", notify = { enable = false, timeout = 1, @@ -135,6 +136,17 @@ There are two possible values for this option: | `full` | The default, it shows the full path of the bookmark, i.e., the parent folder + the hovered file | | `parent` | Only shows the parent folder of the bookmark | +### `bookmark_file_pick_mode` + +The mode for choosing which directory to bookmark. + +There are two possible values for this option: + +| Value | Description | +| -------- | ----------------------------------------------------------------------------------------------- | +| `hover` | The default, it uses the path of the hovered file for new bookmarks | +| `parent` | Uses the path of the parent folder for new bookmarks | + ### `notify` When enabled, notifications will be shown when the user creates a new bookmark and deletes one or