jesseduffield/lazydocker

Copy-paste from right pane

Olshansk opened this issue ยท 5 comments

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.

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.

Thank you!

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

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

Shift + Mouse drag does it for me