fff
fff copied to clipboard
[Feature request] Mark (copy/move) all files in-between
Maybe it's a good addition if, for example, I wanted to mark file A and then mark file H, then files B to G are also marked. Or maybe it's already existing and I missed it? Thanks!
Hi. I would like to work on this feature. Instead of the way it is proposed above I would like to propose a visual mode (Shift + v), like in vim, to select multiple files. Once multiple files are marked y, m and d can be performed on the selection. I would start working on it if this approach sounds good to you @dylanaraps .
Sounds good. :+1:
How would this work hotkey-wise whilst also keeping the current hotkeys intact? I've been thinking about this and I can't figure out a simple workflow. How do other file managers implement this feature?
Another question; Is this feature still needed now that there's also select-all functionality?
I was thinking about taking an approach which is used for cmd_line feature. After entering visual mode you only respond to up, down, copy, move, delete and escape only. This way in visual mode only selection is possible and other keys are disabled. It would certainly be useful if we, for example have sort by date feature and want to mark files between certain dates. Without the sort options I don't think it would be that useful.
@dylanaraps I'm probably going to work on a branch undoing my config changes so I can merge some of my additions I think someone other than me would use. Could you take a look at this commit? I'm unsure of how maintainable it is as each key's actions need to be tweaked by hand for visual mode, and wondering if it should be included.