docs(dir): buffer state discarded by 'bufhidden' #41014

This commit is contained in:
Barrett Ruth 2026-07-28 05:12:01 -05:00 committed by GitHub
parent 205a1ce4c7
commit 93f427f603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,9 @@ Directory buffers follow the global 'hidden' option by default. To delete them
after use: >vim
autocmd FileType directory setlocal bufhidden=delete
<
Use "wipe" to discard all buffer state; see 'bufhidden'.
A discarded listing is rebuilt on the next visit, so the cursor starts at the
first entry instead of the one it was left on. "wipe" discards the buffer
itself, leaving no |alternate-file|; see 'bufhidden'.
Replacing the directory browser *dir-disable*