mirror of https://github.com/logseq/logseq
fix: ctrl+c not working
parent
a82f68f621
commit
4376af78df
|
@ -72,8 +72,7 @@
|
||||||
"ctrl+h" editor-handler/highlight-format!
|
"ctrl+h" editor-handler/highlight-format!
|
||||||
"ctrl+shift+a" editor-handler/select-all-blocks!
|
"ctrl+shift+a" editor-handler/select-all-blocks!
|
||||||
"alt+shift+up" (fn [state e] (editor-handler/move-up-down e true))
|
"alt+shift+up" (fn [state e] (editor-handler/move-up-down e true))
|
||||||
"alt+shift+down" (fn [state e] (editor-handler/move-up-down e false))
|
"alt+shift+down" (fn [state e] (editor-handler/move-up-down e false))}
|
||||||
"ctrl+c ctrl+s" (fn [state e] (search-handler/rebuild-indices!))}
|
|
||||||
(medley/map-keys util/->system-modifier)))
|
(medley/map-keys util/->system-modifier)))
|
||||||
|
|
||||||
(defonce chords
|
(defonce chords
|
||||||
|
@ -83,7 +82,11 @@
|
||||||
"t r" ui-handler/toggle-right-sidebar!
|
"t r" ui-handler/toggle-right-sidebar!
|
||||||
"t e" state/toggle-new-block-shortcut!
|
"t e" state/toggle-new-block-shortcut!
|
||||||
"s" route-handler/toggle-between-page-and-file!
|
"s" route-handler/toggle-between-page-and-file!
|
||||||
})
|
"ctrl+c ctrl+s" (fn [state e]
|
||||||
|
(search-handler/rebuild-indices!)
|
||||||
|
;; return false to prevent default browser behavior
|
||||||
|
;; and stop event from bubbling
|
||||||
|
false)})
|
||||||
|
|
||||||
(defonce bind! (gobj/get mousetrap "bind"))
|
(defonce bind! (gobj/get mousetrap "bind"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue