ChatGPT.nvim icon indicating copy to clipboard operation
ChatGPT.nvim copied to clipboard

Optimize user experience

Open fengwk opened this issue 2 years ago • 2 comments

  1. PreviewWindow used "force" for tbl_deep_extend, so the parameters passed from outside would always be invalid. I modified it. Additionally, I attempted to support passing UI attribute configurations through the configuration file.
  2. If in insert mode, the chat would still be in insert mode upon exit. Therefore, I switched back to normal mode upon exit.
  3. Code edits did not have a binding for "close," so I added the ability to bind "close."

These are all small modifications, but they have greatly improved my experience. I hope they can be merged.

fengwk avatar Jun 10 '23 13:06 fengwk

Please also fix stylua errors to pass checks, thanks!

jackMort avatar Jun 12 '23 01:06 jackMort

I have corrected comments language and stylua errors ~

fengwk avatar Jun 12 '23 16:06 fengwk