Add bookmark_file_pick_mode option to README
This commit is contained in:
12
README.md
12
README.md
@@ -85,6 +85,7 @@ require("bookmarks"):setup({
|
|||||||
last_directory = { enable = false, persist = false },
|
last_directory = { enable = false, persist = false },
|
||||||
persist = "none",
|
persist = "none",
|
||||||
desc_format = "full",
|
desc_format = "full",
|
||||||
|
bookmark_file_pick_mode = "hover",
|
||||||
notify = {
|
notify = {
|
||||||
enable = false,
|
enable = false,
|
||||||
timeout = 1,
|
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 |
|
| `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 |
|
| `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`
|
### `notify`
|
||||||
|
|
||||||
When enabled, notifications will be shown when the user creates a new bookmark and deletes one or
|
When enabled, notifications will be shown when the user creates a new bookmark and deletes one or
|
||||||
|
|||||||
Reference in New Issue
Block a user