add find (page-search) hotkey
This commit is contained in:
parent
6635d28c55
commit
e40f79baa8
@ -69,6 +69,16 @@ module.exports = function (window) {
|
||||
label: 'Select All',
|
||||
accelerator: 'Command+A',
|
||||
selector: 'selectAll:'
|
||||
},
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Find',
|
||||
accelerator: 'Command+F',
|
||||
click: function () {
|
||||
window.rpc.triggerFind()
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -5,7 +5,8 @@ var pullipc = require('pull-ipc')
|
||||
|
||||
var clientApi = {
|
||||
navigate: 'async',
|
||||
contextualToggleDevTools: 'async'
|
||||
contextualToggleDevTools: 'async',
|
||||
triggerFind: 'async'
|
||||
}
|
||||
|
||||
module.exports = function (window, sbot, params) {
|
||||
|
Loading…
Reference in New Issue
Block a user