spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
Yehonathan Sharvit 2020-04-17T05:01:22.333900Z

Is there a way to use cider debugger keybindings inside spacemacs?

erwinrooijakkers 2020-04-17T12:23:05.343400Z

For me it works fine when debugging with ,db… On develop branch now but it also worked on master half a year ago.

Yehonathan Sharvit 2020-04-17T05:02:52.335Z

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

practicalli-john 2020-04-17T07:46:25.340600Z

@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.

sgepigon 2020-04-17T10:34:23.341300Z

@viebel You can try to go into insert mode and use the debugger keybindings from there.

practicalli-john 2020-04-17T10:58:50.342400Z

I guess you could also try switching to Emacs state, using C-z to toggle between Emacs and Vim style editing.

sgepigon 2020-04-17T11:00:39.342500Z

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).

jumar 2020-04-17T12:00:07.342900Z

Yes, that's what I do if I need to move inside a debugger session.

1👍
Yehonathan Sharvit 2020-04-17T12:12:20.343200Z

Thanks for all the tips

erwinrooijakkers 2020-04-17T12:23:05.343400Z

For me it works fine when debugging with ,db… On develop branch now but it also worked on master half a year ago.

Gleb Posobin 2020-04-17T14:34:18.344300Z

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.

Gleb Posobin 2020-04-17T14:36:55.345500Z

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?

Gleb Posobin 2020-04-17T14:40:44.346300Z

Ok I have managed to add the closing paren in a comment and then remove ;, but that's a hack.

Gleb Posobin 2020-04-17T14:42:34.347200Z

Ah, there is quoted-insert which can be called with C-q both in normal and insert mode.

practicalli-john 2020-04-17T16:18:34.349900Z

@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 🙂

practicalli-john 2020-04-17T16:19:34.350700Z

If you are using evil-cleverparens too, then there is , T s to toggle that off briefly

practicalli-john 2020-04-17T16:36:00.354800Z

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.

practicalli-john 2020-04-17T16:37:48.355700Z

Any new key bindings I add will follow the Spacemacs key binding conventions https://github.com/syl20bnr/spacemacs/blob/master/doc/CONVENTIONS.org