1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Add shortcut for bulleted list (#5698)

Ref: https://discourse.joplinapp.org/t/shortcut-for-lists/21646
This commit is contained in:
Helmut K. C. Tessarek 2021-11-11 10:50:15 -05:00 committed by GitHub
parent d7e08770bd
commit b58ea0f202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export default function() {
'textLink', 'textLink',
'textPaste', 'textPaste',
'textSelectAll', 'textSelectAll',
'textBulletedList',
'toggleExternalEditing', 'toggleExternalEditing',
'toggleLayoutMoveMode', 'toggleLayoutMoveMode',
'toggleNoteList', 'toggleNoteList',

View File

@ -28,6 +28,7 @@ const defaultKeymapItems = {
{ accelerator: 'Cmd+I', command: 'textItalic' }, { accelerator: 'Cmd+I', command: 'textItalic' },
{ accelerator: 'Cmd+K', command: 'textLink' }, { accelerator: 'Cmd+K', command: 'textLink' },
{ accelerator: 'Cmd+`', command: 'textCode' }, { accelerator: 'Cmd+`', command: 'textCode' },
{ accelerator: 'Option+Cmd+-', command: 'textBulletedList' },
{ accelerator: 'Shift+Cmd+T', command: 'insertDateTime' }, { accelerator: 'Shift+Cmd+T', command: 'insertDateTime' },
{ accelerator: 'Shift+Cmd+F', command: 'focusSearch' }, { accelerator: 'Shift+Cmd+F', command: 'focusSearch' },
{ accelerator: 'Cmd+F', command: 'showLocalSearch' }, { accelerator: 'Cmd+F', command: 'showLocalSearch' },
@ -68,6 +69,7 @@ const defaultKeymapItems = {
{ accelerator: 'Ctrl+I', command: 'textItalic' }, { accelerator: 'Ctrl+I', command: 'textItalic' },
{ accelerator: 'Ctrl+K', command: 'textLink' }, { accelerator: 'Ctrl+K', command: 'textLink' },
{ accelerator: 'Ctrl+`', command: 'textCode' }, { accelerator: 'Ctrl+`', command: 'textCode' },
{ accelerator: 'Ctrl+Alt+-', command: 'textBulletedList' },
{ accelerator: 'Ctrl+Shift+T', command: 'insertDateTime' }, { accelerator: 'Ctrl+Shift+T', command: 'insertDateTime' },
{ accelerator: 'F6', command: 'focusSearch' }, { accelerator: 'F6', command: 'focusSearch' },
{ accelerator: 'Ctrl+F', command: 'showLocalSearch' }, { accelerator: 'Ctrl+F', command: 'showLocalSearch' },