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

Feature request: Command to copy a line of text in preview #322

Open
danrobi11 opened this issue Jan 4, 2021 · 8 comments
Open

Feature request: Command to copy a line of text in preview #322

danrobi11 opened this issue Jan 4, 2021 · 8 comments

Comments

@danrobi11
Copy link

I noticed that we could scroll up/down in a text preview. It would be neat to have a command to quickly copy a line.

@Canop
Copy link
Owner

Canop commented Jan 4, 2021

For more (multi-line selection for example), some thought is needed but a verb for the current line seems easy.

@Canop Canop closed this as completed in 0616704 Jan 4, 2021
@Canop
Copy link
Owner

Canop commented Jan 4, 2021

If you try from the current master, be careful that it only works when broot is compiled with the "clipboard" feature.

@danrobi11
Copy link
Author

works when broot is compiled with the "clipboard" feature.

Im trying to know the syntax for the clipboard feature argument from here But I get page not found.

@Canop
Copy link
Owner

Canop commented Jan 5, 2021

I didn't know about the "features.md" file practice.

You can compile with cargo build --release --features clipboard.

Feel free to come and chat on Miaou for more info.

Or just wait a few days for the release of broot v1.1.11 which will have the change.

@danrobi11
Copy link
Author

I didn't know about the "features.md" file practice.

I've found the link at If you want a custom compilation, have a look at the optional features documentation from here

@Canop
Copy link
Owner

Canop commented Jan 5, 2021

Ahaha... totally forgot about this one. Adding a issue.

@elbowz
Copy link

elbowz commented Sep 8, 2021

Cool feature!
I'm on v1.6.3-1 but it seems don't work (ie alt+c or :copy_line do nothing).

Or just wait a few days for the release of broot v1.1.11 which will have the change.

is it still only as custom compilation?

@Canop
Copy link
Owner

Canop commented Sep 8, 2021

I'll have a look. Reopening so that I'm sure not to forget.

@Canop Canop reopened this Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants