This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-17
Channels
- # announcements (1)
- # babashka (94)
- # beginners (76)
- # calva (24)
- # cider (24)
- # clj-kondo (1)
- # cljs-dev (16)
- # cljsrn (45)
- # clojure (135)
- # clojure-europe (9)
- # clojure-france (5)
- # clojure-germany (2)
- # clojure-italy (12)
- # clojure-losangeles (13)
- # clojure-nl (3)
- # clojure-portugal (54)
- # clojure-uk (20)
- # clojurescript (55)
- # conjure (67)
- # core-async (5)
- # cursive (2)
- # datomic (10)
- # docker (7)
- # duct (22)
- # emacs (16)
- # fulcro (34)
- # graalvm (15)
- # hoplon (1)
- # instaparse (1)
- # jobs-discuss (3)
- # juxt (94)
- # luminus (1)
- # meander (4)
- # off-topic (13)
- # pathom (4)
- # pedestal (1)
- # ring (3)
- # ring-swagger (2)
- # shadow-cljs (61)
- # spacemacs (17)
- # specter (2)
- # sql (23)
- # xtdb (33)
Is there a way to use cider debugger keybindings inside spacemacs?
For me it works fine when debugging with ,db
… On develop branch now but it also worked on master half a year ago.
I tried it and there seems to be a conflict between the debugger keybindings c for continue, n for next etc… and vim key bindings
@viebel I use n
, o
and q
key bindings with the cider debug tool, , d b
, without any problems I haven't tried the other key bindings.
I am using the Spacemacs develop
branch.
Maybe it hasn't been evilified in the Clojure layer. I will take a look over the weekend.
@viebel You can try to go into insert mode and use the debugger keybindings from there.
FWIW This trick also work in Vimium on Chrome (should be similar on a different browser and vim emulator) to use site-specific keybindings (e.g. gmail).
I guess you could also try switching to Emacs state, using C-z
to toggle between Emacs and Vim style editing.
Thanks for all the tips
How do I insert a closing parenthesis in strict mode? I opened a file that has an unmatched parenthesis and can't close it now.
Also, is there a way to search through emacs documentation in emacs? What's the flow for answering the question above myself without leaving spacemacs?
Ok I have managed to add the closing paren in a comment and then remove ;
, but that's a hack.
Ah, there is quoted-insert
which can be called with C-q
both in normal and insert mode.
@posobin as a last resort smartparens can be toggled off briefly SPC t C-p
, obviously you would toggle it back on again after fixing 🙂
If you are using evil-cleverparens too, then there is , T s
to toggle that off briefly
I am looking for feedback on keys for using cider-inspect
commands.
Only the cider-inspect
command has a key binding in the Clojure layer. I am using the cider-inspect
and cider-inspect-last-result
commands a lot more. There are other interesting inspect command too, but none of them have key bindings.
So if you use the inspector:
• what commands do you use
• what key bindings would be useful and should they be under debug, evaluation or its own inspector menu sub-section?
Thank you.
Any new key bindings I add will follow the Spacemacs key binding conventions https://github.com/syl20bnr/spacemacs/blob/master/doc/CONVENTIONS.org