I was trying to do this but I did this in VS code
This is called “Add cursors to line ends” in VS Code
I use vs code and then i paste it back to obsidian