TaDaa / vimade

An eye friendly plugin that fades your inactive buffers and preserves your syntax highlighting!
MIT License
486 stars 8 forks source link

vimade+vim-tmux-focus-events creating unnecessary activity while switching windows #61

Open chunleng opened 3 years ago

chunleng commented 3 years ago

vimade+vim-tmux-focus-events works perfectly while switching between tmux panes. However, it also gets trigger when I try to switch between window and trigger highlight on the windows tab due to activity (vimade changing the color of the vim)

This might be a factor to consider for usability as it practically made the activity notification of tmux useless.

TaDaa commented 2 years ago

This is a great idea, if I'm understanding correctly you would want to separate the actual focus events from tmux pane switching. Unfortunately, it seems that the window focus and pane focus events are entangled together when set -g focus-events on is set. There could be ways around it, if I have time at some point I might take a look.