Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whitelynx/nvimswapcheck

A script to ease filtering and cleaning up (n)vim swap files
https://github.com/whitelynx/nvimswapcheck

Last synced: 26 days ago
JSON representation

A script to ease filtering and cleaning up (n)vim swap files

Awesome Lists containing this project

README

        

nvimswapcheck
=============

```
Usage: nvimswapcheck [OPTIONS]

Options:
-h Show this help message, and exit
-m Only match modified files
-M Only match unmodified files
-r Only match files owned by running instances of nvim
-R Only match files owned by dead instances of nvim
-o Only display filenames
-O Show detailed file information
```

Examples
--------

Removing swap files from dead instances of (n)vim that have no modifications:
```
rm -v $(nvimswapcheck -MRo)
```