-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
At the moment if you rename a note with, say, :Rename x.md, the file with the new name will correctly be added to Git, but the old one will just be marked as deleted from the index.
The commit is being invoked here in response to a BufWritePost autocmd. To handle renames (or straight-up deletions) we'd probably need to hook in to a different autocmd (this may produce two commits instead of one atomic commit, but that would be better than not recording the deletion in Git). Not sure if BufDelete gets called in this case, or something else — will have to look into it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels