summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 49ecfa4d..826f86c8 100644
--- a/README.md
+++ b/README.md
@@ -103,6 +103,25 @@ pane shells outlive every frontend; a frontend keeps only what needs the human's
own display. From inside the editor, `Attach` and `Detach` do the same thing as
words. See `docs/detached.md`.
+## Recent files
+
+A file closed by accident is found again. `Recent` (`SPC f r`) lists the
+files opened lately, most recent first, closed ones too, each marked `open`
+or `closed` at the place its dot was when it closed:
+
+```
+/home/me/src/main.zig:120:5 closed
+/home/me/notes.txt open
+```
+
+A look at a row opens that file there. The list keeps 200 files, each once,
+and lasts across sessions in `$XDG_STATE_HOME/pardes/recent` (else
+`~/.local/state/pardes/recent`). The jumplist keeps a closed file's entries
+too: `Back` to one opens the file again at its place, and `+Jumps` marks it
+`(closed)`. Over 9P, `/recent` reads `open <path>` or `closed <path>` a line.
+acme has nothing like it (its dump and Load are the nearest); pardes goes
+beyond acme here.
+
## Tests
```