Replies: 10 comments
-
Maybe we could first add a command to copy path info into a register. |
Beta Was this translation helpful? Give feedback.
-
Seems a bit niche, I copy the file path straight from the status line. How is this exposed in kakoune/vim? |
Beta Was this translation helpful? Give feedback.
-
We could have a special register that always holds the current file name? |
Beta Was this translation helpful? Give feedback.
-
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 ;)
|
Beta Was this translation helpful? Give feedback.
-
I did a quick search on this and vim is using a read-only register |
Beta Was this translation helpful? Give feedback.
-
Kakoune has that special register as well, accessible in prompts via |
Beta Was this translation helpful? Give feedback.
-
I would love to see a The use case that drove me to find this issue was wanting to quickly run a |
Beta Was this translation helpful? Give feedback.
-
After looking into the changes I think it is easy to |
Beta Was this translation helpful? Give feedback.
-
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: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
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?Beta Was this translation helpful? Give feedback.
All reactions