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

Add copy_command example for WSL #223

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/src/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ Some terminals don't support the the OSC 52 signal, which is the method Zellij u
To do the latter, add one of the following to your [Zellij Config](./configuration.md):

```
copy_command: "xclip -selection clipboard" # x11
copy_command: "wl-copy" # wayland
copy_command: "pbcopy" # osx
copy_command "xclip -selection clipboard" # x11
copy_command "wl-copy" # wayland
copy_command "pbcopy" # osx
copy_command "clip.exe" # Windows WSL2
```

Note that the only method that works when connecting to a remote Zellij session (eg. through SSH) is OSC 52. If you require this functionality, please consider using a terminal that supports it.
Expand Down
1 change: 1 addition & 0 deletions docs/src/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Examples:
copy_command "xclip -selection clipboard" // x11
copy_command "wl-copy" // wayland
copy_command "pbcopy" // osx
copy_command "clip.exe" // Windows WSL2
```

### copy_clipboard
Expand Down