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

Lines from:to and filename in window frame. Maybe line numbers #77

Open
ignishub opened this issue Apr 12, 2024 · 2 comments
Open

Lines from:to and filename in window frame. Maybe line numbers #77

ignishub opened this issue Apr 12, 2024 · 2 comments

Comments

@ignishub
Copy link

ignishub commented Apr 12, 2024

Is your feature request related to a problem? Please describe.
I want to integrate this app to my IDE/ NVIM and visualy choose which lines of code i want to share. Then copy to clipboard and send it via some messeneger. And it will be nice if reciever will see filename so he can know where to search

Describe the solution you'd like
I need some configuration flags for this options

something like(we can make window title just a string and just pass it):

freeze --line.from=10 --line.to=20 --window.filename = true --numbers=true

Describe alternatives you've considered
I considered to copy lines to temporary file and then process this temporary file with this app. But it will ruin line numbers and filename/path

@ignishub ignishub changed the title Lines from:to and copy to clipboard and filename in window frame Lines from:to and filename in window frame. Maybe line numbers Apr 13, 2024
@isabelroses
Copy link
Contributor

isabelroses commented Apr 14, 2024

You can see https://github.com/isabelroses/charm-freeze.nvim, where the line number persist properly.
Though it would be nice to see the the option to add a filename to the window.

@ignishub
Copy link
Author

You can see https://github.com/isabelroses/charm-freeze.nvim, where the line number persist properly. Though it would be nice to see the the option to add a filename to the window.

Thank you! Its great! But as you said it will be nice to see filename and even better line numbers in base tool. Because sometimes you want to use it just as cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants