mirror of https://github.com/laurent22/joplin.git
Desktop: Added shortcut Cmd+Option+N to open note in new window, and added command to menu bar
parent
60b2f69620
commit
23f75f8784
|
@ -877,7 +877,9 @@ function useMenu(props: Props) {
|
|||
note: {
|
||||
label: _('&Note'),
|
||||
submenu: [
|
||||
menuItemDic.openNoteInNewWindow,
|
||||
menuItemDic.toggleExternalEditing,
|
||||
separator(),
|
||||
menuItemDic.setTags,
|
||||
menuItemDic.showShareNoteDialog,
|
||||
separator(),
|
||||
|
|
|
@ -32,6 +32,7 @@ export default function() {
|
|||
'textSelectAll',
|
||||
'textBulletedList',
|
||||
'toggleExternalEditing',
|
||||
'openNoteInNewWindow',
|
||||
'toggleLayoutMoveMode',
|
||||
'resetLayout',
|
||||
'toggleMenuBar',
|
||||
|
|
|
@ -61,6 +61,7 @@ const defaultKeymapItems = {
|
|||
{ accelerator: 'Option+Cmd+2', command: 'switchProfile2' },
|
||||
{ accelerator: 'Option+Cmd+3', command: 'switchProfile3' },
|
||||
{ accelerator: 'Option+Cmd+Backspace', command: 'permanentlyDeleteNote' },
|
||||
{ accelerator: 'Option+Cmd+N', command: 'openNoteInNewWindow' },
|
||||
],
|
||||
default: [
|
||||
{ accelerator: 'Ctrl+N', command: 'newNote' },
|
||||
|
@ -108,6 +109,7 @@ const defaultKeymapItems = {
|
|||
{ accelerator: 'Ctrl+Alt+1', command: 'switchProfile1' },
|
||||
{ accelerator: 'Ctrl+Alt+2', command: 'switchProfile2' },
|
||||
{ accelerator: 'Ctrl+Alt+3', command: 'switchProfile3' },
|
||||
{ accelerator: 'Ctrl+Alt+N', command: 'openNoteInNewWindow' },
|
||||
],
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue