Update README
This commit is contained in:
12
README.md
12
README.md
@@ -81,7 +81,8 @@ The following are the default configurations:
|
|||||||
```lua
|
```lua
|
||||||
-- ~/.config/yazi/init.lua
|
-- ~/.config/yazi/init.lua
|
||||||
require("bookmarks"):setup({
|
require("bookmarks"):setup({
|
||||||
save_last_directory = false,
|
save_last_directory = false, -- DEPRECATED - will be removed in the future
|
||||||
|
last_directory = { enable = false, persist = false },
|
||||||
persist = "none",
|
persist = "none",
|
||||||
desc_format = "full",
|
desc_format = "full",
|
||||||
notify = {
|
notify = {
|
||||||
@@ -101,6 +102,15 @@ require("bookmarks"):setup({
|
|||||||
When enabled, a new bookmark is automatically created in `'` which allows the user to jump back to
|
When enabled, a new bookmark is automatically created in `'` which allows the user to jump back to
|
||||||
the last directory.
|
the last directory.
|
||||||
|
|
||||||
|
This option is deprecated and will be removed in the future in favor of `last_directory`.
|
||||||
|
|
||||||
|
### `last_directory`
|
||||||
|
|
||||||
|
When enabled, a new bookmark is automatically created in `'` which allows the user to jump back to
|
||||||
|
the last directory.
|
||||||
|
|
||||||
|
There's also the option to enable persistence to this automatic bookmark.
|
||||||
|
|
||||||
### `persist`
|
### `persist`
|
||||||
|
|
||||||
When enabled the bookmarks will persist, i.e. if you close and reopen Yazi they will still be
|
When enabled the bookmarks will persist, i.e. if you close and reopen Yazi they will still be
|
||||||
|
|||||||
Reference in New Issue
Block a user