This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-16
Channels
- # aws (17)
- # babashka (2)
- # beginners (131)
- # bristol-clojurians (1)
- # calva (16)
- # chlorine-clover (6)
- # cider (10)
- # clara (5)
- # cljsrn (82)
- # clojure (176)
- # clojure-dev (14)
- # clojure-europe (13)
- # clojure-italy (13)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-sweden (32)
- # clojure-uk (32)
- # clojuredesign-podcast (2)
- # clojurescript (34)
- # community-development (2)
- # conjure (17)
- # cursive (4)
- # datomic (51)
- # emacs (6)
- # figwheel-main (26)
- # fulcro (16)
- # graalvm (11)
- # jobs (2)
- # jobs-discuss (30)
- # kaocha (4)
- # meander (23)
- # off-topic (34)
- # pathom (5)
- # re-frame (10)
- # reagent (3)
- # reitit (6)
- # releases (3)
- # sci (36)
- # shadow-cljs (27)
- # sql (9)
- # testing (6)
- # tools-deps (28)
- # vim (8)
how does one make keyboard shortcuts apply to the repl? ex: i have alt+backspace mapped to delete a subword at a time in vscode
I assume by repl, you're referring to the repl window. The action you describe sounds like the paredit action Kill/Delete Sexp Backward, which is mapped by default to ctrl+alt+backspace
. Force Delete Backward is mapped to alt+backspace
. If you re-mapped alt+backspace
to Kill/Delete Sexp Backward, then it should work that way in the repl window.
Btw, I did the re-mapping described above and verified it works in the repl window. Let me know if I misunderstood something or you need more help.
(the specific one in question is an extension that deletes subwords e.g. ThisSubword| + "Alt-Bckspc" => This
The REPL window is a separate editor. It shares paredit commands with the regular editor, but not much more than that. Most often you shouldn't really need the REPL window though. It's generally better to work inside the editor windows and enjoy the full vscode editing support.
@U0ETXRFEW How would you recommend trying out a function you just wrote if not in the REPL window?
With what command? Calva evaluate current form
?
I find that annoying, because my cursor is usually in the middle of the code when I want to evaluate it, not at the end of the form.
:thumbsup:
@U017SU36TG9 You may find these docs helpful • https://calva.io/try-first/ • https://calva.io/commands-top10/ • https://calva.io/eval-tips/