0

There is VIM's default bar below my Airline's status bar, which causes file information to be viewed twice (as shown in the image). How can I move my airline's bar to the bottom? I have tried adding set noshowmode but it didn't slove my problem.

enter image description here

  • That bottom line is the message window. You can't remove it. Besides the filename only shows temporarily there...until Vim has a message to display. Or you can hit Ctrl-L to clear it. – B Layer Aug 17 '19 at 1:18
1

That's not really possible.

The last line is used not only to display messages and information, but also to enter Ex commands (the commands starting with a colon, such as :w, :q, :e filename, etc.), also where you can type a search pattern if you start a search using / or ?.

Furthermore, that line is also used to display messages, such as error messages when you try to save a file but don't have permissions to write to it, or when you're searching for a term that's not present in the buffer.

The fact that the information in the message line is occasionally duplicating some information that's in the airline bar doesn't mean it should be gotten rid of.

The 'showmode' option, when set, causes Vim to display --INSERT-- in the message line when in insert mode. That's indeed a duplicated information from the one set up by the vim-airline plug-in, so the plug-in will by default disable that option to avoid that particular case of duplication.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.