I’m trying out Obsidian for taking notes, and this made me laugh.
You must log in or register to comment.
Why would I want to exit vim?
Tricky question, but I think I have a solution:
:!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID