Skip to content

Commit 8ddf8c5

Browse files
committed
tweak(hotkeys): use mod+z to undo
1 parent 9dee3fd commit 8ddf8c5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/view/actions/keyboard-shortcuts/helpers/commands/commands/history-commands.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const historyCommands = () => {
1414
hotkeys: [
1515
{
1616
key: 'Z',
17-
modifiers: ['Mod', 'Shift'],
17+
modifiers: ['Mod'],
1818
editorState: 'editor-off',
1919
},
2020
],
@@ -31,6 +31,11 @@ export const historyCommands = () => {
3131
hotkeys: [
3232
{
3333
key: 'Y',
34+
modifiers: ['Mod'],
35+
editorState: 'editor-off',
36+
},
37+
{
38+
key: 'Z',
3439
modifiers: ['Mod', 'Shift'],
3540
editorState: 'editor-off',
3641
},

0 commit comments

Comments
 (0)