Is there any simple way to display the chat from the CopilotChat command in a split window on the right side?
I read "rplugin/python3/CopilotChat/mypynvim/core/buffer.py" and found self.nvim.api.command(f"vsplit | buffer {self.buf.handle}").
I inserted "wincmd l" as follows and succeeded in open chat in right side.
def vsplit(self, opts: dict[str, Any] = {}):
# self.nvim.api.command(f"vsplit | buffer {self.buf.handle}")
self.nvim.api.command(f"vsplit | wincmd l | buffer {self.buf.handle}")
winnr = self.nvim.api.get_current_win()
for opt, val in opts.items():
self.nvim.api.win_set_option(winnr, opt, val)
Is there any other way than modifying the source code?
Is there any simple way to display the chat from the CopilotChat command in a split window on the right side?
I read "rplugin/python3/CopilotChat/mypynvim/core/buffer.py" and found self.nvim.api.command(f"vsplit | buffer {self.buf.handle}").
I inserted "wincmd l" as follows and succeeded in open chat in right side.
Is there any other way than modifying the source code?