Skip to content

Commit 7ac3d35

Browse files
Merge pull request #33 from stephenalindsay/keyboard-navigation
Add some basic keyboard navigation.
2 parents 7b3cd89 + 3847267 commit 7ac3d35

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/clooj/core.clj

+5-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,11 @@
531531
(add-menu menu-bar "Search"
532532
["Find" "cmd F" #(start-find doc)]
533533
["Find next" "cmd G" #(highlight-step doc false)]
534-
["Find prev" "cmd shift G" #(highlight-step doc true)])))
534+
["Find prev" "cmd shift G" #(highlight-step doc true)])
535+
(add-menu menu-bar "Window"
536+
["Move to REPL" "alt R" #(.requestFocusInWindow (:repl-in-text-area doc))]
537+
["Move to Editor" "alt E" #(.requestFocusInWindow (:doc-text-area doc))]
538+
["Move to Project Tree" "alt P" #(.requestFocusInWindow (:docs-tree doc))])))
535539

536540
;; startup
537541

0 commit comments

Comments
 (0)