Since Vim does not support Wayland natively (see vim/vim#5157) and at least one popular Wayland compositor (Sway) doesn't synchronize the XWayland clipboard without a focused window (see swaywm/sway#5352), a plugin like fakeclip could be a very useful way to interact with the Wayland clipboard.
This PR adds support for the Wayland clipboard using wl-copy and wl-paste from wl-clipboard, enabled based on the presence of $WAYLAND_DISPLAY.
Since Vim does not support Wayland natively (see vim/vim#5157) and at least one popular Wayland compositor (Sway) doesn't synchronize the XWayland clipboard without a focused window (see swaywm/sway#5352), a plugin like fakeclip could be a very useful way to interact with the Wayland clipboard.
This PR adds support for the Wayland clipboard using
wl-copy
andwl-paste
from wl-clipboard, enabled based on the presence of$WAYLAND_DISPLAY
.Thanks for considering, Kevin