omit netrw from saved sessions

This commit is contained in:
Ray Elliott 2026-10-28 19:00:31 +00:00
commit bf39cd1ecd
4 changed files with 76 additions and 0 deletions

View file

@ -16,6 +16,7 @@ Session support is automatic but user-controlled:
**Auto-load/save** (via `lua/autocmds.lua`):
- On startup: auto-loads `Session.vim` if it exists (unless files specified on command line)
- On exit: auto-saves to `Session.vim` if it already exists
- Netrw and its preview windows are omitted from the saved layout; generated `NetrwTreeListing` buffers are not restorable
- Sessions are per-directory and opt-in (just create one to start using)
**Stop using a session**: