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
Powerline causes flickering in vim. #1281
Comments
What is your configuration? Are some of those files version-controlled? You can use profiling to get the results:
. After doing some splitting and experiencing performance issues for some time do Possibly related: #1280. |
I am using the default powerline configuration for vim. I also made a minimal .vimrc:
Note: The flickering is less severe compared to my full .vimrc, but I can still get the bottom quarter of the buffer to flicker. At one point I scrolled down to the bottom a file and held
If you mean the files I opened, I was able to reproduce the issue regardless of if the files were in a repo. /tmp/profile |
Problem also occurs in vim with |
Unknown domain. Also note that |
Would a Google Drive link be better? https://drive.google.com/open?id=0B16rp5cev5IDVVRXVlVsb2E5dWc&authuser=0 |
I am wondering does this mean that colorscheme is relevant? (I.e. removing it resolves the issue?) I was able to download and use profile file, but cannot seem to find anything bad there so far. |
I guess I need to make it possible to start profiling at some point, not from the very begginning. You said that problems start after you open another buffer. How much time did you spend with problems compared to time without problems when preparing profiling? Does setting Also note that powerline with profiling enabled is a wrong way to determine minimal vimrc (in case you did it this way, I do not know): enabled profiling is causing performance degradation on its own. |
Oh, no, I do see something unusual: you have too much calls to
to the vimrc (this requires vim-7.4 or higher to work properly). |
No, the colorscheme does not matter. Removing it did not affect the flickering.
Adding that to my regular .vimrc did not help with the flickering but setting |
I have the same problem. I use the bufferline inside the tabline, so I set |
I have the same thing, showtabline=1 fixes it, but crazy flickering with showtabline=2. An interesting point though, there's no flickering if I run it inside of tmux. |
I am facing this issue of vim flickering after using powerline. Although gvim is out of this problem , the oringinal vim inside terminal is flickering. I used |
I solved it. I had set lines and columns to 999 and since I was opening vim inside a tmux pane of 80x24 it was not possible so I just removed the line |
vim_getbufoption(segment, 'buflisted') was causing vim to update the tabline for every keystroke. using vim.eval('buflisted(nr)') allows vim to optimize when it needs to update Fixes powerline#1281
After opening a file with vim I can scroll flicker-free. When I open another file, or even another buffer like Unite, vim starts to flicker when switching files and scrolling. Repeated switching makes the flickering worse. Sometimes, I can't even see text until I stop scrolling.
Terminal is gnome terminal.
The text was updated successfully, but these errors were encountered: