Skip to content

Commit 661fe5e

Browse files
committed
Add a description of persisted
1 parent ae7071d commit 661fe5e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,23 @@ You can find the intuitive mappings [here](https://github.com/tmux-plugins/tmux-
240240
241241
242242
243+
## Persisted Usage for Session Management
244+
245+
Add the root of your source directory to `allowed_dir`:
246+
```lua
247+
'olimorris/persisted.nvim',
248+
...
249+
config = function()
250+
local utils = require 'persisted.utils'
251+
local allowed_dirs = {
252+
'~/.local/src',
253+
}
254+
...
255+
end
256+
```
257+
258+
259+
243260
## Gitsigns Usage
244261
245262
This plugin is convenient to stage, reset and navigate hunks. Check out the [keymaps](https://github.com/lewis6991/gitsigns.nvim?tab=readme-ov-file#keymaps)

0 commit comments

Comments
 (0)