Monday, October 10, 2022

Re: Is there a way to open the ":terminal" in the bottom pane instead of the top pane ?

On Mon, Oct 10, 2022 at 11:32 AM Eric Marceau <eajmarceau@gmail.com> wrote:
>
> I would like to open the terminal in the bottom pane, rather than the top pane.
>
> Is there an option that could be specified to allow me to control that?
>
> Thank you,
>
> Eric Marceau

I don't use the terminal myself, but try the documentation at :help :botright

To always open the terminal at the bottom when typed as exactly "term"
(not for example "ter" or "terminal") try (untested)

:cabbr <expr> term ((getcmdtype == ':' && getcmdpos() <= 7)? 'bot
term' : 'term')

(I use a similar but different abbreviation to open the help at the bottom.)

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXsR3sj0Q6%2Btu%3DayGa6GBjvpxzQXafvK9dVg3fhrjwhtZQ%40mail.gmail.com.

No comments: