Skip to content

Copy-paste from right pane #190

Description

@Olshansk

I occasionally want to copy-paste text from the logs (the right-hand pane), but it doesn't seem to work.

I didn't spend any time investigating this so I'm not sure if I'm just doing something wrong, if it's not supported, or if it's a configuration error.

  1. If I'm doing something wrong or a config error, I would appreciate any advice.
  2. If it's not supported, I'd be more than happy to add the feature myself if someone could point me in the right direction.

Activity

  1. mjarkk commented on Nov 18, 2019

    @mjarkk
    Contributor

    Duplicate off #167

    As quoted earlier this is not a builtin feather but there are 2 other ways to copy logs:
    On mac you can use this hack: option and command and drag over the area you want to copy.
    If the above is not possible you can always still do this:

    1. Press m to attach to container
    2. Copy logs
    3. Return to lazydocker by pressing ctrl-c

    Closing this issue.

  2. Olshansk commented on Nov 19, 2019

    @Olshansk
    ContributorAuthor

    Thank you!

  3. singhjasneet commented on Jan 18, 2020

    @singhjasneet

    Option + Command with mouse drag doesn't works for me. But second option is works like a charm. Thanks!

  4. lockmeister commented on Nov 29, 2023

    @lockmeister

    how to do this in windows or linux? Alt key doesn't do it for me

  5. brtwrst commented on Feb 21, 2024

    @brtwrst

    Shift + Mouse drag does it for me

  6. andyczerwonka commented on Apr 20, 2025

    @andyczerwonka

    Wonder how hard it'd be to add this feature, similar to k9s, where you simply press c to copy to clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions