Use nui.nvim
to open the chat window to the furthest edge of the editor
#592
Replies: 2 comments 2 replies
-
Firstly, thanks for taking the effort to investigate this so thoroughly and present it comprehensively. I actually expected to say no to anything that resulted in another dependency and more UI components to manage. But...your initial commit is incredibly simple and potentially opens the door to much more UI customization which I know some people would love. I would be happy to accept a PR for this, however I would l ask for a couple of things:
|
Beta Was this translation helpful? Give feedback.
-
Hello @abiencourt, I have a suggestion. If I understand your intention correctly by opening the chat buffer at the edge, isn’t this as simple as using capital letters in
Feel free to disregard this suggestion if it’s irrelevant, or if |
Beta Was this translation helpful? Give feedback.
-
I realized that the plugin does not open the chat window all the way to the left/right of the editor, but of the current window you are in. I personally find this annoying, see recording below describing my issue, the chat window gets opened in the middle...
I'd love this plugin to have a way to always display the chat to the furthest edge of the editor. I know neo-tree.nvim does it to always display the tree to the most right/left window and investing their code, I found out that they use nui.nvim Split command.
I forked your project and created a POC commit of the changes required to use
nui.nvim
. Here is a demo of these changes.I know these changes require adding an extra dependency to the plugin, which is not ideal, but I personally think this would be a great QoL. Let me know your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions