Opening the vim terminal using :term, creates a horizontal split with the terminal placed at the top half of the window. Is there a way to open the terminal at the bottom half instead?

I know I can use set splitbelow to make all horizontal splits open below the current one. However, I only want the set splitbelow behaviour to apply when opening :term. I want all other horizontal splits to open above as usual.


Use :belowright:

:belowright terminal

Or, more succinctly:

:bel term

This command is a modifier and affects the command run right after it.

(Another useful modifier here is :vertical, to split vertically instead.)

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.