I currently use tmux and vim all day every day, including as my dev environment (if I'm not in a browser). Are there any advantages to this? My initial thought is that having vim inside a terminal session is a better organization model than having a terminal session inside of a vim pane, but maybe that's just because it's how I've worked for 20 years so it's what I'm used to. I know that some vim users prefer to run…
One disadvantage of the Tmux approach is that if you have multiple nvim windows open, you can't copy from one to another.
You can set wshada|rshada to occur on FocusLost|FocusGained.