yetone / avante.nvim

Use your Neovim like using Cursor AI IDE!
Apache License 2.0
4.99k stars 165 forks source link

Provide a top/bottom layout or a floating layout #123

Closed zhou13 closed 1 week ago

zhou13 commented 3 weeks ago

In my normal setup, I use two or more terminal side by side so the sidebar is too wide to fit my screen space. Is it possible to provide a top/bottom split layout or a float-window layout (like telescope)?

owenconti commented 2 weeks ago

A floating window like in the jackMort/ChatGPT.nvim plugin would be great!

rishadbaniya commented 2 weeks ago

it would be great to have this feature, especially when one has vertical monitor..the bottom one helps a lot and floating(well it's always helpful)

tang-hi commented 1 week ago

Hi, I create a PR to add the bottom layout. Any suggestion is welcome!

420

yetone commented 1 week ago

The latest version already supports layout = 'horizontal'.

yetone commented 1 week ago

Just refactored and now use windows.position = "top" | "bottom" | "left" | "right" for the sidebar position: https://github.com/yetone/avante.nvim/pull/436