zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.45k stars 67 forks source link

feat(panel): add close keymap to panel #141

Closed pcasdf closed 1 year ago

pcasdf commented 1 year ago

This PR allows users to set a keymap for closing the panel that uses the existing mod.teardown method.

MunifTanjim commented 1 year ago

.teardown is not supposed to be called directly and is not the equivalent for just closing the panel.

You can close the panel like any other window, run :quit.