File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -524,11 +524,12 @@ export class ToolbarPlugin extends Plugin {
524524 const hasMod = e . metaKey ;
525525 const hasShift = e . shiftKey ;
526526
527- if ( hasCtrl && e . key === 'l' ) {
527+ console . log ( 'e.key' , e . key ) ;
528+ if ( hasCtrl && e . key === '.' ) {
528529 indentListSelection ( this . view . state , this . view . dispatch ) ;
529530 return true ;
530531 }
531- if ( hasCtrl && e . key === 'h ' ) {
532+ if ( hasCtrl && e . key === ', ' ) {
532533 outdentListSelection ( this . view . state , this . view . dispatch ) ;
533534 return true ;
534535 }
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ You can also see a legend for many of these hotkeys in the alt text of the toolb
4848
4949- ` cmd + y ` / ` ctrl + y ` is redo
5050
51+ - ` ctrl + . ` is indent
52+
53+ - ` ctrl + , ` is outdent
54+
5155## Formatting macros
5256
5357- smart curly quote and apostrophe substitution
@@ -87,5 +91,3 @@ Scratch is a work in progress. I have a running list of things I’d like to add
87911 . tables, or something like them
8892
89931 . syntax highlighting and one-click copy-to-clipboard for code blocks
90-
91- 1 . nested lists, with full support for markdown formatting within list items
You can’t perform that action at this time.
0 commit comments