This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (3)
- # aws (7)
- # babashka (11)
- # beginners (96)
- # clojure (15)
- # clojure-europe (9)
- # clojure-germany (2)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-poland (3)
- # clojure-serbia (1)
- # clojurescript (13)
- # depstar (28)
- # fulcro (34)
- # graalvm (5)
- # honeysql (5)
- # malli (11)
- # off-topic (27)
- # pathom (9)
- # polylith (74)
- # portal (10)
- # re-frame (13)
- # releases (1)
- # ring (8)
- # shadow-cljs (3)
- # spacemacs (10)
- # tools-deps (8)
Hello, Are there any keyboard shortcuts implemented in portal (ex: to change selected to portal.viewer/tree) ?
Hi @claudiu, if you open the command palette by hitting the bottom right button, it will provide keyboard shortcuts next to the command.
https://github.com/djblue/portal/blob/master/src/portal/ui/commands.cljs#L173-L221 is the complete list. Looking at making them customizable in the future.
This is cool! note that at least on Linux in Firefox, Ctrl-Shift-p will open a private browsing window, seems it won't let you override that.
Thanks! I think two ways to fix the problem are having browser specific shortcuts or making it customizable, one of those is easier than the other. What keyboard shortcut would you prefer instead of ctrl + shift + p?
I would have almost recommended
ctrl + shift + a since many things are using that for palettes, but unfortunately chrome just decided to steal it as well for the search open tabs feature.
Next in my mind would be maybe trying to model after linux generated signals (eg,
ctrl + z ,
ctrl + c) etc but then that would interfere with any future possibilities of having shells within portal.
Maybe instead after something like tmux with trigger/prefix combo first ? (eg:
ctrl + b -> p - but not using tmux's
b for the above mentioned reason so swap it out with another char). Anyways just some food for thought 😄
stealing improving on existing systems always seems to offer good basis for things
Edit: One existing one i forgot that many people are becoming accustomed to is
meta + k (slack!)
Nextjournal (and others as well I believe) use Ctrl/Cmd-J https://nextjournal.com/help/shortcuts