I start my coding workspaces in tmux sessions which persist when I log out. If I switch from a wayland session to an x11 session, then my copy and paste functionality in those neovim sessions are broken because it's still trying to use wl-copy
. To be more precise:
"+y
broken. clipboard: error invoking wl-copy: Failed to connect to a Wayland server...
Restarting neovim isn't sufficient. I have to restart the entire tmux session or switch back to wayland. Is there some short cut I can take here?
Everything I read says it's a feature enabled in what ever compositor you choose, if your compositor supports it. Why isn't there a general purpose keybinding program like setxkbmap
? Does it just not exist yet or must it be built into the compositor?
I've read [this stackexchange thread] on something related but it all seems to be using XKB which should imply I'm using XWayland?
@sudo
@programming.dev