I’m trying out Obsidian for taking notes, and this made me laugh.

  • @homura1650
    link
    23
    edit-2
    1 year ago

    Tricky question, but I think I have a solution:

    :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID