Surfingkeys: Add keybinding to edit current URL
This commit is contained in:
parent
de4407a85c
commit
0ca90de664
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ api.unmap(':');
|
||||||
api.mapkey('<Alt-x>', '#7Open commands', function() {
|
api.mapkey('<Alt-x>', '#7Open commands', function() {
|
||||||
api.Front.openOmnibar({type: "Commands"});
|
api.Front.openOmnibar({type: "Commands"});
|
||||||
});
|
});
|
||||||
|
api.mapKey('gO', '#8Edit current URL and open', () =>
|
||||||
|
api.Front.openOmnibar({type: "URLs", tabbed: false, pref: window.location.url}));
|
||||||
|
|
||||||
api.mapkey('<Ctrl-c>g', '#14Load new posts', function() {
|
api.mapkey('<Ctrl-c>g', '#14Load new posts', function() {
|
||||||
document.querySelector('button.updates-button').click();
|
document.querySelector('button.updates-button').click();
|
||||||
|
|
Loading…
Add table
Reference in a new issue