-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Add a command to copy the filename and cursor line number in the clipboard. #2985
Comments
Maybe we could first add a command to copy path info into a register. |
Seems a bit niche, I copy the file path straight from the status line. How is this exposed in kakoune/vim? |
We could have a special register that always holds the current file name? |
Personally, I think it’s too restricted to take up a register for a specific purpose. I mean what if we want to add commands to copy the full path, relative path, filename without extension, etc ;)
|
I did a quick search on this and vim is using a read-only register |
Kakoune has that special register as well, accessible in prompts via |
I would love to see a The use case that drove me to find this issue was wanting to quickly run a |
After looking into the changes I think it is easy to |
Helix-editor is great for its consistency.
I'd like to add to above list:
With this consistency in place one can easily copy the current buffer's file via: |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I am not sure If we already have something like that or not.
I like to have a command that will copy the file path from the workspace("
workspace/dir1/dir/2/file.rs:567
") so we can share it with other team members and they can open it likehx workspace/dir1/dir/2/file.rs:567
Is it too much to ask in the same request to add this feature in the file finder too where we can add the line number after file with
:
that will preview the file from the line number?The text was updated successfully, but these errors were encountered: