npcomplete
npcomplete

Reputation: 174

vim command on top of window

I code in python and C++ regularly and vim is my editor of choice. I have a bunch of plugins/snippets that make things a lot easier. One feature I lack is the ability to move the command window of vim on top. So, if I type ":e ", I want this command to be on top of the window. How do I do that?

Upvotes: 4

Views: 1842

Answers (1)

Ingo Karkat
Ingo Karkat

Reputation: 172738

The command-line is always at the bottom; this cannot be changed. I guess the reason is that some Ex commands (like :ls) print multiple lines of output. You would expect this output to be next to / close to the command itself. A command-line on top would mean that the normal window layout of Vim would "scroll down" to make space for the output. This is unnatural and not like terminals work. (vi / Vim is first and foremost a terminal application!)

So, get used to it!

Upvotes: 4

Related Questions