b0o / surfingkeys-conf

🏄 A SurfingKeys config which adds 180+ key mappings & 50+ search engines
MIT License
385 stars 65 forks source link

[Feature Request] AddBookmark function keybinding #45

Open Neurognostic opened 3 years ago

Neurognostic commented 3 years ago

Details

I was not able to find any functionality in this config to add/create a bookmark. In the default config it's mapped to ab.

From the default Sufingkeys config:

mapkey('ab', '#8Bookmark current page to selected folder', function() {
    var page = {
        url: window.location.href,
        title: document.title
    };
    Front.openOmnibar(({type: "AddBookmark", extra: page}));
});

Am I just missing it?

Thank you.

ned-si commented 4 months ago

In case anyone's watching this, actually you can just delete this line and it will work just fine :)

https://github.com/b0o/surfingkeys-conf/blob/main/src/keys.js#L33