copilot.lua icon indicating copy to clipboard operation
copilot.lua copied to clipboard

Expose panel:close

Open maxdiebold opened this issue 2 years ago • 3 comments

Not an issue, but a small feature request: would it be possible to expose the panel:close method, so a keymap can be set to toggle the panel visibility? Or, better yet, just create a wrapper panel:toggle function?

maxdiebold avatar Nov 28 '23 04:11 maxdiebold

If your cursor is inside the panel, you can just run :quit.

Or do you want to close it when your cursor is not inside panel?

MunifTanjim avatar Nov 28 '23 20:11 MunifTanjim

Awesome plugin and I second this. It would be great if I could set and press q when cursor is in the panel to close it due to my personal keybindings.

IanLiuTW avatar Aug 05 '24 18:08 IanLiuTW