superfile icon indicating copy to clipboard operation
superfile copied to clipboard

Creating sym-link by spf

Open Neburalis opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Describe it. I always get frustrated when I have to create symbolic links in Linux (especially in Windows, when I used it, because there you have to use powershell or third-party software for this) because you have to remember where it should point and where it should be located.

Describe the solution you would like an operation similar to ctrl + c (for example ctrl + l - short for link ) selects the file or directory to which the link will be created (and somehow displayed in the clipboard), then when you press ctrl + v the link will be created where superfile is open

Describe the alternatives you considered An alternative is the recently added commands in spf, but as I said, you will have to remember and manually specify some data, although using the proposed function you can not worry about this.

Additional context Here are some screenshots of how I imagine it image1 image2 image3

I used this 🔗(U+1F517) unicode symbol to denote a link, and this ⎘ (from here) to denote an operation, maybe this will help you

Neburalis avatar Aug 07 '24 15:08 Neburalis

This looks good. Will try to implement this in near future.

Would love to get the feedback from the other users about what they think about this and how useful this feature could be to them?

lazysegtree avatar Jan 24 '25 08:01 lazysegtree

From this discussion - https://github.com/yorukot/superfile/discussions/185#discussioncomment-14535079

It would be useful to me if I could create symlinks form within superfile.

lazysegtree avatar Sep 29 '25 02:09 lazysegtree

We could implement it in this way - users can press something else then ctrl+c to copy the file in a way that on paste it will just create a symlink.

ctrl+c+s or something.

@haltriumph @Neburalis @yorukot What do yo think ?

lazysegtree avatar Sep 29 '25 02:09 lazysegtree

Yep. That is basically what I had in mind. I use symlinks all the time and it would be very helpful. FWIW, yazi does have this feature.

haltriumph avatar Sep 29 '25 12:09 haltriumph

I would like to see this feature soon too, it is so useful, also I noticed that when selecting a link file, it doesn't show in the Metadata to which file it points

Image

rami-shalhoub avatar Oct 28 '25 02:10 rami-shalhoub