-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with items marked for deletion/move #80
Comments
Seconding this. In my config I unmapped the mark-for-deletion/move and mapped new commands to delete/move all marked files. |
@dumblob I'm a little confused by the terms used here so I may not have understood this correctly. If we unify For your first item, you can currently read deleted item with @occivink The idea is, if you have two clients operating on different directories and you want to copy files between these two directories, you can simply mark items you want and |
I guess you could have one key to "move all marked files here" and another to "copy all marked files here". That's the kind of paradigm that I'm personally using. Also you're right that I'm usually not using the client-server feature, but I imagine that you could share the "unified" marks so that you could copy/move between two clients. |
@gokcehan the point is, that both With regards to more clients I would very much like to share the selection across clients - exactly as @occivink wrote. |
Ok I think it's clear to me now. I should first point out that the current way is how all file managers that I know of works including ranger (and also maybe vim). Your alternative suggestion gets rid of one of the steps for file copy/cut/paste. Since we should keep multiple client use as it is, our only possible option is to share marks among clients. Two things come to my mind. First, is there a use for having separate marks in each client, if so we would be breaking that use. Second, we need to sync marks in all clients and redraw ui at each toggle event. Is the performance overhead relevant here? I'm worried that this could be especially noticeable for crowded selection. On the other hand, maybe it is best to make this optional. It is already possible to do this for single client use as @occivink mentions. If there is an easy way to make this possible for multiple clients use we can work on that without changing the current implementation. |
Can't speak for others, but I personally do not need different marks in each client. I somehow tend to use marks for the shortest time possible - either just for one operation (which is the major case) or for a set of operations (but in this case I try to not interrupt the workflow as otherwise I'm getting lost in the whole context).
I wouldn't be worried about performance as the changes are both not frequent and not periodic. |
Any idea how to achieve the synchronization? I'd very much like to have it synchronized. |
Currently it seems impossible to work with items marked for deletion/move. I was thinking about unification of yanking and marking-for-deletion/move into one operation. If it won't happen in the default configuration, I would like to have this opportunity in my configuration. In case they won't get unified, two things for a user configuration seem to be missing:
I wonder what was the motivation to separate yanking and marking-for-deletion/move? Could someone please enlighten me? The marking-for-deletion/move seems completely redundant to me currently :(
The text was updated successfully, but these errors were encountered: