bulletmark / edir

Program to rename, remove, and copy files and directories using your editor
138 stars 8 forks source link

Option for editing symlinks #24

Open joy-void-joy opened 2 months ago

joy-void-joy commented 2 months ago

Hi!

I love edir, thank you so much for making it. I was interested in an option that would allow one to edit where symlinks point to easily:

1 ./a
2 ./b -> /home/user/b
3 ./c

And then we can modify line 2 by changing where the symlink points to with /home/user/c for instance. Would there be interest in my making such a PR?

bulletmark commented 2 months ago

Some time ago I also thought of this and actually started to code it but there are awkward and varied scenarios to deal with and I eventually gave up. Ultimately we are working within a file editor, not a file manager.

I guess you could try to make a PR but please be warned - I will only accept it if it makes good sense, works well, and is consistent and efficient code.