edkolev/tmuxline.vim

Windows Flickering Window Problem

Opened this issue · 0 comments

I have a cross-platform compatible .vimrc setup. The tmuxline.vim plugin works fine on Linux systems. However, when I install this on a Windows 10 system, it dramatically slows down the cursor, and there's this flickering window that can be seen on the taskbar from a process running in Vim. This does not happen with Windows Subsystem for Linux (WSL), it's only in a Windows 10 edition of Vim, which of course cannot run Tmux.
Regardless of the issue, therefore, I was wondering if it's possible that a global variable can be added to the plugin so that it can easily disable the plugin on Windows 10 and other systems where Tmux isn't compatible.
Something to the effect of...

let g:tmuxline_plugin_disable=1

...would be ideal. This way I can put in my vimrc file:

if has('win32') || has('win64')
  let g:tmuxline_plugin_disable=1
endif

Thank you if so.