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',
|
label: 'Select All',
|
||||||
accelerator: 'Command+A',
|
accelerator: 'Command+A',
|
||||||
selector: 'selectAll:'
|
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 = {
|
var clientApi = {
|
||||||
navigate: 'async',
|
navigate: 'async',
|
||||||
contextualToggleDevTools: 'async'
|
contextualToggleDevTools: 'async',
|
||||||
|
triggerFind: 'async'
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = function (window, sbot, params) {
|
module.exports = function (window, sbot, params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user