[mini.clue] Display bookmarks and g mappings from mini.files
#2519
abeldekat
started this conversation in
Show and tell
Replies: 1 comment 5 replies
|
Nice! Thanks for sharing!
As you know, I am not a big fan of monkey-patching global "module tables" and My initial reaction to reading "Manipulate the global MiniClue config accordingly" is that it should be possible to use |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mini_files_in_mini_clue.mp4
Recently, people asked if bookmarks and
gmappings from MiniFiles could be shown in MiniClue.The challenges:
'gclues do include the ones from MiniFiles, but also from many others...Solution:
'for MiniFilesApply a hack, overriding vim.api.nvim_get_keys if needed...)v2:Remove the globalv3: Instead of removing, change the description of global 'g' mappings when inside explorergmappings that are not needed in MiniFiles, restore when the explorer closesNote: For v4, the solution is different. See this comment.
v4, override two MiniClue triggers when inside explorer
v3, change description of global 'g' mappings when inside explorer
v2, without the hack
Initial version
The path to the code in my config:
lua/akextra/files_clued.luaThe layout of the explorer in the video: See this discussion
All reactions