I’m trying out Obsidian for taking notes, and this made me laugh.
Oh wow, that’s an easy way to not implement a feature ;)
Tricky question, but I think I have a solution:
:!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID
A lot of my personal dislike for VIM would be done away with if it just had a helpful common keys cheat sheet (basic cursor navigation, edit mode, exit with and without saving, etc) at the bottom of the editor window like Nano does.
I understand where you’re coming from, but as a frequent user of vim I’d much rather have the additional line of text.
If anyone needs the command: :q!
If you want the computer to ask if you’re sure: :q
If you want to save: :wq
Alt-F4