mirror of https://github.com/logseq/logseq
enhance(pdf): support `shift + enter` to pick the previous searching results item
parent
a160151ceb
commit
62eb86f0c8
|
@ -218,8 +218,8 @@
|
|||
:on-key-up (fn [^js e]
|
||||
(case (.-which e)
|
||||
13 ;; enter
|
||||
(do
|
||||
(do-find! :again)
|
||||
(let [shift? (.-shiftKey e)]
|
||||
(do-find! {:type :again :prev? shift?})
|
||||
(set-entered-active? true))
|
||||
|
||||
27 ;; esc
|
||||
|
|
Loading…
Reference in New Issue