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

docs: point to full list of supported clipboard tools #690

Merged
merged 1 commit into from
Jun 23, 2022
Merged

docs: point to full list of supported clipboard tools #690

merged 1 commit into from
Jun 23, 2022

Conversation

maxbrunet
Copy link
Contributor

I spotted that in the latest release

xclip is for X11, wl-clipboard is for Wayland, and there actually are others:

                                                              clipboard-tool
The presence of a working clipboard tool implicitly enables the '+' and '*'
registers. Nvim looks for these clipboard tools, in order of priority:

  - g:clipboard
  - pbcopy, pbpaste (macOS)
  - wl-copy, wl-paste (if $WAYLAND_DISPLAY is set)
  - xclip (if $DISPLAY is set)
  - xsel (if $DISPLAY is set)
  - lemonade (for SSH) https://github.com/pocke/lemonade
  - doitclient (for SSH) http://www.chiark.greenend.org.uk/~sgtatham/doit/
  - win32yank (Windows)
  - termux (via termux-clipboard-set, termux-clipboard-set)
  - tmux (if $TMUX is set)

https://neovim.io/doc/user/provider.html#clipboard-tool

Windows does not seem to come with a pre-installed one either.

And as always, thank you for AstroNvim! ❤️

@github-actions
Copy link

Use the following updater settings in your user/init.lua file, restart, and run :AstroUpdate to test this pull request:

  updater = {
    channel = "nightly",
    branch = "docs/clipboard-tool",
    remote = "maxbrunet",
    remotes = {
      ["maxbrunet"] = "maxbrunet/AstroNvim",
    },
  },

@maxbrunet
Copy link
Contributor Author

You might want to use paths to disable the above message when there is no config change
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore

@mehalter
Copy link
Member

@maxbrunet thanks for this contribution! It will make the documentation a lot more precise and accurate :D

Copy link
Member

@mehalter mehalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mehalter mehalter merged commit a66a4c9 into AstroNvim:main Jun 23, 2022
@mehalter mehalter added the documentation Improvements or additions to documentation label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants