Skip to content

Shortcut to move a file to the next panel #1356

@RatoGBM

Description

@RatoGBM

The part you want to Enhancement
Add a shortcut to move the currently focused on file one panel over. Sort of an equivalent of drag and dropping.

I think a good shortcut would be Ctrl+M. Preferably check for the number of split panels
If 1 panels: save the file to clipboard
If 2 panels: move the file to the other panel, in the other panel focus on the file, but don't focus the other panel.
If 3+ panels: if on the edge most panel, move the file to the center panel. Otherwise, clipboard. (I think this is the best UX solution to this...)

Why it is necessary to enhancement
Currently, moving a single file requires a lot of annoying selecting and copy pasting.

Additional context
One of my main uses of SPF is when I am in the command line, and want to move in a file from a different directory, but don't know where it is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions