mirror of https://github.com/logseq/logseq
enhance: use command-. and command-, for mac users
Related thread: https://discuss.logseq.com/t/non-default-keyboard-shortcuts-to-move-between-words-on-mac-os/135pull/1095/head
parent
41d3228121
commit
5f7b4e56ed
|
@ -237,8 +237,8 @@
|
|||
[:tr [:td (t :help/new-line-in-block)] [:td "Shift-Enter"]]
|
||||
[:tr [:td (t :undo)] [:td (util/->platform-shortcut "Ctrl-z")]]
|
||||
[:tr [:td (t :redo)] [:td (util/->platform-shortcut "Ctrl-y")]]
|
||||
[:tr [:td (t :help/zoom-in)] [:td (util/->platform-shortcut "Alt-Right")]]
|
||||
[:tr [:td (t :help/zoom-out)] [:td (util/->platform-shortcut "Alt-left")]]
|
||||
[:tr [:td (t :help/zoom-in)] [:td (util/->platform-shortcut (if util/mac? "Alt-." "Alt-Right"))]]
|
||||
[:tr [:td (t :help/zoom-out)] [:td (util/->platform-shortcut (if util/mac? "Alt-," "Alt-left"))]]
|
||||
[:tr [:td (t :help/follow-link-under-cursor)] [:td (util/->platform-shortcut "Ctrl-o")]]
|
||||
[:tr [:td (t :help/open-link-in-sidebar)] [:td (util/->platform-shortcut "Ctrl-shift-o")]]
|
||||
[:tr [:td (t :expand)] [:td (util/->platform-shortcut "Ctrl-Down")]]
|
||||
|
|
|
@ -60,8 +60,10 @@
|
|||
"ctrl+y" history-handler/redo!
|
||||
"ctrl+u" route-handler/go-to-search!
|
||||
"alt+j" route-handler/go-to-journals!
|
||||
(or (state/get-shortcut :editor/zoom-in) "alt+right") editor-handler/zoom-in!
|
||||
(or (state/get-shortcut :editor/zoom-out) "alt+left") editor-handler/zoom-out!
|
||||
(or (state/get-shortcut :editor/zoom-in)
|
||||
(if util/mac? "alt+." "alt+right")) editor-handler/zoom-in!
|
||||
(or (state/get-shortcut :editor/zoom-out)
|
||||
(if util/mac? "alt+," "alt+left")) editor-handler/zoom-out!
|
||||
"ctrl+enter" editor-handler/cycle-todo!
|
||||
"ctrl+down" editor-handler/expand!
|
||||
"ctrl+up" editor-handler/collapse!
|
||||
|
|
Loading…
Reference in New Issue