`?` keymap help
Discussed in https://github.com/jackMort/ChatGPT.nvim/discussions/43
Originally posted by RhydianJenkins December 29, 2022 Hi.
Thanks so much for this plugin. I use it daily :)
I've noticed that we've recently been blessed with several new features (such as sessions and api request params), and have since also been given several new keybinds to remember.
Could we get something like nerdtree (example below) where the user could press ? to see a quick summary/cheat sheet of all the possible buttons? It's getting hard to track!


Thanks
Excellent suggestion from Rhydia!
Friendly bump!
I've been looking for this as well. Another bump from me.
I played a bit with the Nui layout and the way settings can be toggled on and off. Making something similar to toggle help does work. I have something rudimentary working now but it is buggy and I'm struggling with Lua in general. Haven't coded with it that much. I will push to a fork when I have some more time. Maybe in some days.
It currently only works in edit_with_instructions mode.
I defined an extra_panels table that contains settings and help so it is easier to add more in the future and render them accordingly. I might run into problems with this approach in the chat command because of the sessions tab but I haven't looked into it yet.
There are also some strange bugs with switching between the panels with the TAB key bind. No clue why tbh. Will have a look into it before I make a PR.
Check it out yourself in the main branch of my fork
Edit: The bugs are fixed as far as I'm concerned. Edit 2: Help in chat mode works now too and sessions pane is now toggleable independently from options. PR coming soon.