I’m trying out Obsidian for taking notes, and this made me laugh.
You are viewing a single thread.
View all comments 1 point
*
Tricky question, but I think I have a solution:
:!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID