Closed shashankshetty1996 closed 1 week ago
There is some documentation at :help oil-actions
about the built-in actions you can easily use as keymaps. Take a look at :help actions.yank_entry
Under :help oil-actions
I found copy_entry_filename
and copy_entry_path
actions. Thanks for the update @stevearc
Did you check existing requests?
Describe the feature
Overview:
Similar to the functionality available in popular IDEs like VSCode, implementing the option to copy file paths directly from the file explorer can greatly enhance user experience and productivity. This feature aims to provide users with the convenience of effortlessly copying the filename, absolute path, and relative path of a file for various use cases.
Detailed Functionality:
Copying File Name:
Copying Absolute Path:
Copying Relative Path:
Navigating in Version Control Repositories:
Benefits:
Implementation Details:
Provide background
I am trying to reference specific files in my codebase.
I need to quickly access and insert file paths into various parts of my project.
I want to streamline the process of handling file paths for improved efficiency.
I want to copy the file name and paste it in another directory when creating a new file.
I want to copy the absolute path to navigate efficiently from my local terminal to the file location.
I want to copy the relative path to easily share file references with my colleagues for collaboration.
I want to copy the relative path to quickly locate the file within version control repositories like GitHub, Bitbucket, etc.
What is the significance of this feature?
strongly desired
Additional details
No response