A shortcut to select file/files in the explorer. And copy that path to the terminal. #16965
Labels
Area-User Interface
Issues pertaining to the user interface of the Console or Terminal
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Discussion
Something that requires a team discussion before we can proceed
Product-Terminal
The new Windows Terminal.
Description of the new feature/enhancement
I would love to have an shortcut that opens an dialog to select files. And then just copy the paths of those files to the terminal. So i can be a bit quicker and don't have to be sliding the terminal/file explorer around to make sure i can slide the files in without losing focus of the terminal.
Have you ever found it cumbersome to input file paths into the terminal? I often find myself opening a file explorer, selecting the files I need, and then dragging them into the terminal. However, this process can be a bit of a hassle, especially when juggling between different application windows. And have to make sure both stay in view.
Proposed technical implementation details (optional)
I have a implementation. There is also code for WSL support. I am however missing a accessible function to check if it is in WSL. So that should be worked on. Could be me if i am pushed in the right direction.
The implementation is in this fork.
https://github.com/Raukie/Terminal
So let me know with what steps to proceed, to make this happen.
The result should be
A shortcut, my own preference would be ctrl+o, o stands for open.
When in the terminal and pressing that shorcut a file explorer dialog should open to select files.
After you have selected the files the path of the selected files should be pasted into the terminal.
Example video of what to happen.
2024-03-27.01-05-05.mp4
The text was updated successfully, but these errors were encountered: