vimperator
vimperator copied to clipboard
[multi-hints.js] not work on firefox46
Just upgrade to firefox 46 and vimperator 3.13 and found multi-hints.js can't work. This plugin is very useful,can you fix it?Thanks for your reply.
Thank you for reporting. I fix it.
// I use Firefox ESR...
Thanks for the soon fix.Now it wokrs great. And i have a question before,that can i modify the description for actions? It's not a big question and don't affect for use just i want to see the description for the action. Like the picture below,i want to show follow link and yank locations,not //a and //*[@href] https://i.imgur.com/D79PnKw.jpg https://i.imgur.com/E2cqNte.jpg
add to action description to prompt. If you wanto show only action descript, please apply bellow patch.
diff --git a/plugin/multi-hints.js b/plugin/multi-hints.js
index 96391ae..0ac2763 100755
--- a/plugin/multi-hints.js
+++ b/plugin/multi-hints.js
@@ -241,7 +241,7 @@ xml`<plugin name="multi-hints" version="0.0.2"
commandline.close();
}
commandline.setTimeout(function () {
- commandline.input(`${cmd.desc}[${util.clip(selector, 16)}]`, function (arg){
+ commandline.input(`${cmd.desc}`, function (arg){
let args = [];
let list = hints._pageHints;
let matcher = new MulitHintMatcher(arg);
I apply the patch and that's what i want. Thanks for the update.