3 ms·
Also, find . -name "*.swp" -exec rm {} \; is also slowly getting abstracted away in my mind as a single, atomic and very useful command.
by slashnull 12y ago
Also, find . -name "*.swp" -exec rm {} \; is also slowly getting abstracted away in my mind as a single, atomic and very useful command.
- jessaustin 12y agoYou don't recover the editing session first?
- GregorStocks 12y agoYou can configure Vim to put the swap files in your ~/.vim instead of the directory of the file you're editing, which in my experience is much less annoying - see https://github.com/GregorStocks/configs/blob/35ab5c3c45e5cfa9a380c56431d539ca47ea7e00/.vimrc#L65 https://github.com/GregorStocks/configs/blob/35ab5c3c45e5cfa...
- jqm 12y agoI have a directory in /tmp set up for swap files. And indeed, it is much less annoying than having them in the working directory.