Rebind 'Copy Current URL' to 'CmdOrCtrl+L' to mimic 'Open Location' in browsers

This commit is contained in:
Huy Hong 2016-04-08 13:59:05 -07:00
parent f388ef83c6
commit e6454ca7a0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ function createMenu({nativefierVersion, appQuit, zoomIn, zoomOut, goBack, goForw
},
{
label: 'Copy Current URL',
accelerator: 'CmdOrCtrl+C',
accelerator: 'CmdOrCtrl+L',
click: () => {
const currentURL = getCurrentUrl();
clipboard.writeText(currentURL);