Show swap files that can be recovered.
Section: Recovery and swap workflows
List recoverable swap files
bash
bash
vim -r
nvim -rExplanation
Useful when you remember the editor but not the original file path.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Recovery and swap workflows