obsidian.nvim
obsidian.nvim copied to clipboard
Automatically run :ObsidianRename when a file change is detected 🙈
🚀 The feature, motivation and pitch
I use oil.nvim which allows users to change file names/locations by using the vim buffer alone. I would absolutely adore if file renames from oil.nvim would automatically trigger :ObsidianRename
Alternatives
No response
Additional context
I think it should be possible to use new_fs_event() to detect file renames
I would be happy to try and contribute though I don't have any lua/vim plugin experience, so I may need some guidance (no clue how new_fs_event works, this is the only example I found.
There should also probably be a flag to gate this feature 😂
PS. Absolutely LOVE obsidian.nvim, have been wishing for this my whole life since I started using obsidian so I could stop using obsidian and go back to neovim. Thank you for your hard work
This would be nice to have but might be pretty complex to implement. But if anyone finds an elegant solution please let me know.