akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.21k stars 170 forks source link

[Suggestion] Floating terminal position relative to editor #515

Closed ghost closed 9 months ago

ghost commented 9 months ago

Firstly, awesome plugin!

It would be nice to have an option to open the floating terminal relative to the editor.

Like this maybe:

float_opts = { relative_position = 'editor' }
akinsho commented 9 months ago

IIRC the float_opts already exists and you can in fact pass options like that 🤷🏾‍♂️ otherwise PR welcome

ghost commented 9 months ago

IIRC the float_opts already exists and you can in fact pass options like that 🤷🏾‍♂️ otherwise PR welcome

I couldn't locate an option in float_opts to change the floating window position. Am I overlooking something, or is there another way you'd recommend approaching this?

Sorry, I am quite new to TUI specifically Neovim

akinsho commented 9 months ago

@boyo23 I apologise but I really don't have the time to dig into this specifically I have to manage a lot of OSS projects and am trying to spend more of my time on other work. Your going to need to dig through the settings and help docs i.e. :help toggleterm and go from there

ghost commented 9 months ago

@boyo23 I apologise but I really don't have the time to dig into this specifically I have to manage a lot of OSS projects and am trying to spend more of my time on other work. Your going to need to dig through the settings and help docs i.e. :help toggleterm and go from there

All good, thank you very much and sorry for taking your time. Also forgot to mention this earlier, you're plugins are awesome!