kutsan / zsh-system-clipboard

System clipboard key bindings for Zsh Line Editor with vi mode. It is similar to what `set clipboard=unnamed` does for vim.
GNU General Public License v3.0
140 stars 16 forks source link

Add Wayland support with wl-clipboard #31

Closed justinlovinger closed 4 years ago

justinlovinger commented 4 years ago

This is a pretty straightforward addition of Wayland support, using wl-copy and wl-paste from wl-clipboard.

doronbehar commented 4 years ago

Thanks for the patch. Looks good overall. You've caught me right during a NixOS setup of a new laptop + the older machine, and I'm also moving to GNOME + wayland along with it :). I'll get into testing your patch after some more important NixOS configurations.

doronbehar commented 4 years ago

Tested and works perfectly - including new lines (D vs dd and y vs yy etc). Thanks!