Browse Source

enhance: enable mod+shift+z to redo

Tienson Qin 5 years ago
parent
commit
3104ecde0c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/frontend/keyboards.cljs

+ 1 - 0
src/main/frontend/keyboards.cljs

@@ -54,6 +54,7 @@
 
 
    (or (shortcut :editor/undo) "mod+z") [history-handler/undo! true]
    (or (shortcut :editor/undo) "mod+z") [history-handler/undo! true]
    (or (shortcut :editor/redo) "mod+y") [history-handler/redo! true]
    (or (shortcut :editor/redo) "mod+y") [history-handler/redo! true]
+   (or (shortcut :editor/redo) "mod+shift+z") [history-handler/redo! true]
    (or (shortcut :go/search) "mod+u") [route-handler/go-to-search! true]
    (or (shortcut :go/search) "mod+u") [route-handler/go-to-search! true]
    (or (shortcut :go/journals) (if util/mac? "mod+j" "alt+j")) [route-handler/go-to-journals! true]
    (or (shortcut :go/journals) (if util/mac? "mod+j" "alt+j")) [route-handler/go-to-journals! true]
    (or (shortcut :editor/zoom-in)
    (or (shortcut :editor/zoom-in)