Closed siduck closed 3 years ago
I've done a bit or work on this! I'd love to be the assignee & one to do it :smile:
I've done a bit or work on this! I'd love to be the assignee & one to do it
could you show how does it look? I wouldnt want to use cheatsheet.nvim either
something like this but styled with Highstr.nvim
That isn't interactive and don't see how it looks remotely as good or remotely as functional! as cheatsheet.nvim
,
there also certainly won't be enough space to show all the NvChad mappings if we set it like that image you provided
That isn't interactive and don't see how it looks remotely as good or remotely as functional! as
cheatsheet.nvim
, there also certainly won't be enough space to show all the NvChad mappings if we set it like that image you provided
I'll try doing this myself and let you know , if it wont work out then we will go with cheatsheet.nvim
HighStr.nvim didnt go well , so I'll test cheatsheet.nvim
so far :Cheatsheet looks like this
Ok so I think we can do this without using any plugin. The main concept is to loop through the mapping table in chadrc , this way it is dynamic too + no need to define mappings in some file.
Ok so I think we can do this without using any plugin. The main concept is to loop through the mapping table in chadrc , this way it is dynamic too + no need to define mappings in some file.
@Akianonymus what do you think of this?
for index, data in pairs(mappings) do
print("\n")
print(index .. "\n")
for key, val in pairs(data) do
print(key, " | " .. val)
end
end
Ok so I think we can do this without using any plugin. The main concept is to loop through the mapping table in chadrc , this way it is dynamic too + no need to define mappings in some file.
@Akianonymus what do you think of this?
Fetching the mappings isn't a problem, mainly how to make the floating window and stuff.
Ok so I think we can do this without using any plugin. The main concept is to loop through the mapping table in chadrc , this way it is dynamic too + no need to define mappings in some file.
@Akianonymus what do you think of this?
Fetching the mappings isn't a problem, mainly how to make the floating window and stuff.
I think we're reinventing the wheel here imo
There are already plugins to display mappings
I think we're reinventing the wheel here imo
There are already plugins to display mappings
only whichkey is dynamic but its annoying to use .
https://github.com/sudormrfbin/cheatsheet.nvim/issues/7 if this gets resolved then we'll use this.
I think we're reinventing the wheel here imo
There are already plugins to display mappings
only whichkey is dynamic but its annoying to use .
https://github.com/sudormrfbin/cheatsheet.nvim/issues/7 if this gets resolved then we'll use this.
So those are for sure fair points
But I think the ideal solution is to make a PR upstream to provide that functionality, rather than make our own new plugin
I think we're reinventing the wheel here imo There are already plugins to display mappings
only whichkey is dynamic but its annoying to use . sudormrfbin/cheatsheet.nvim#7 if this gets resolved then we'll use this.
So those are for sure fair points
But I think the ideal solution is to make a PR upstream to provide that functionality, rather than make our own new plugin
yes ,we could add a PR to cheatsheet.nvim only
mappings cheetsheet popup ( not whichkey )