[FR] Add fuzzy/orderless way of searching in command line #238
idlip
started this conversation in
Feature requests / ideas
Replies: 1 comment 1 reply
|
You can override glide/src/glide/browser/base/content/glide.d.ts Lines 1770 to 1784 in c4daad2
do you want some specific callback you can override to be executed in this case? or to just close the commandline? If it's the latter, glide.keymaps.set("command", "<Esc>", "commandline_toggle");Side note: you can use render: () => {
return DOM.create_element("div", {
style: {
display: "flex",
flexDirection: "column",
gap: "2px",
},
children: [
DOM.create_element("div", { textContent: link.text || "No text", style: { fontWeight: "500" } }),
DOM.create_element("div", { textContent: link.href, style: { fontSize: "0.9em", opacity: "0.7" } }),
],
});
}, |
1 reply
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.
I've a link picker which shows all href link from DOM.
Fuzzy search or orderless way to search would really benefit command line options.
Currently just hitting space hides all other candidates. So enter by default choses last visible item.
Even Force passing empty candidate would be great.
Ig this is where search happens?
glide/src/glide/toolkit/content/widgets/glide-commandline.ts
Line 112 in c4daad2
Please let me know if there is better method to do this via glide api itself.
Code to hints in commandline
TLDR;
All reactions