Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chunleng opened this issue May 18, 2021 · 2 comments

Comments

@chunleng
Copy link

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
Copy link
Owner

TaDaa commented Aug 26, 2021

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.

@TaDaa
Copy link
Owner

TaDaa commented Dec 7, 2024

so this may be possible... Maybe just need vim-tmux-focus-events to issue a separate doautocmd specifically to track tmux events instead of only overlapping the editor FocusGained/FocusLost.

I'll give it a go later in the week and see if the author will accept the PR if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants