Hacker News new | ask | show | jobs
by xigoi 1535 days ago
One disadvantage of the Tmux approach is that if you have multiple nvim windows open, you can't copy from one to another.
2 comments

You can, has you have multiple ways of copying things. Yanking to the "+" register in n/vim would put the content into your primary clipboard that you can paste with tmux (or ctrl-v).
You can set wshada|rshada to occur on FocusLost|FocusGained.

https://neovim.io/doc/user/starting.html#shada-read-write