Vim + Airline + Linux sloppy exit

132 views Asked by At

I have prepared a small video by recording my desktop to show you what happens. The steps that happen are (beforehand, note that execute pathogen#infect() is enabled in my .vimrc):

  1. vim
  2. :q *
  3. vim ~/.vimrc and comment out execute pathogen#infect()
  4. clear
  5. vim
  6. :q **

* Here, you can see that when I quit, the cursor is suddenly at the bottom and there is still a strip of the background left on the last line.

** Here, you can see that after quitting vim, the cursor is where it was before vim started and everything looks normal.

link to video: https://www.youtube.com/watch?v=Zeb1BzcTwmk&feature=youtu.be

My questions are how can I fix this, and where should I report this?

So, it turns out that it is airline and not pathogen (when I remove the airline bundle, everything works fine). Is airline solely built for Mac?

1

There are 1 answers

0
dylnmc On

Despite my initial belief that it was pathogen causing the error (since when I commented out pathogen, everything became normal), I eventually found that the cause is airline. I guess it just doesn't work in Linux (running mint 17.1 or something like that... rebecca).

My original video, nonetheless, documents the problem (the first time I quit and when I quit from .vimrc, you can see the background lingering).