Skip to content
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

A command to quickly copy current location #7980

Closed
dsseng opened this issue Aug 17, 2023 · 4 comments
Closed

A command to quickly copy current location #7980

dsseng opened this issue Aug 17, 2023 · 4 comments
Labels
C-enhancement Category: Improvements

Comments

@dsseng
Copy link
Contributor

dsseng commented Aug 17, 2023

A command (proposal: :loc/:l) should copy current path and line number to the clipboard (either only primary or both clipboard and primary). Example use case: saving locations for future editing or setting breakpoints on debuggers not running in Helix

@dsseng dsseng added the C-enhancement Category: Improvements label Aug 17, 2023
@lielfr
Copy link

lielfr commented Aug 19, 2023

Hi, is this available to work on?

@dsseng
Copy link
Contributor Author

dsseng commented Aug 20, 2023

Should be, but unsure whether maintainers approve the idea

@lielfr
Copy link

lielfr commented Aug 21, 2023

I see, thanks. if they approve, I'd happily work on this one :)

@pascalkuthe
Copy link
Member

Hmm I don't really think I am really want an extra command here. I think I prefer the registers-based approach or command expansion based approach. I don't think I would want to see yet another set of dedicated commands. See also #7940

This is also a duplicate of #2985

@pascalkuthe pascalkuthe closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants