zbirenbaum / nvterm

NvChad's Official Terminal Plugin ( Unmaintained but still usable and stable), wait for v3.0
GNU General Public License v3.0
178 stars 21 forks source link

Terminal spanning multiple windows #15

Closed fpiem closed 2 years ago

fpiem commented 2 years ago

Currently if I open a horizontal terminal with multiple splits open, the terminal is created underneath the currently focused window, as shown in the example. Screenshot from 2022-07-06 14-46-03 Is there a way to create a horizontal terminal that spans multiple windows? I would like to achieve the look below, without having to create the terminal split before the second code split.

Screenshot from 2022-07-06 14-48-34 Thank you in advance for your help!

zbirenbaum commented 2 years ago

You just need to use botright instead of the default rightbelow Override the nvterm config to be this:

require("nvterm").setup({
  terminals = {
      horizontal = { location = "botright", split_ratio = 0.3 },
   },
})
fpiem commented 2 years ago

Thank you very much.