emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
Nicky Chorley 2020-04-28T05:45:32.166800Z

how to people comment forms in Emacs? I'm just using C-M-@ M-; . I couldn't find whether Clojure mode has its own key binding for comments

Ahmed Hassan 2020-04-28T07:19:47.167300Z

Try C-x C-;

dotemacs 2020-04-28T10:09:25.167800Z

I’ve been working on this mode https://github.com/dotemacs/clojure-comment-dwim.el/blob/master/clojure-comment-dwim.el you might find it useful.

Nicky Chorley 2020-04-29T05:57:50.173600Z

I'd forgotten about (comment) . C-x C-; doesn't work because that comments a single line and not the whole form. Thanks @dotemacs too!

mdallastella 2020-04-30T12:45:48.175400Z

I move at the beginning of the form, C-SPC, C-M-f and then M-;

💪 1
1
adityaathalye 2020-04-28T05:50:23.166900Z

I jump to opening paren and type #_ , or slurp into a (comment ...) form. In general, I avoid using semicolons to comment out code, because it's easy to lose in-between code / paren balancing that way.

2020-04-28T06:25:44.167100Z

linked from there i noticed: http://www.viemu.com/a-why-vi-vim.html toward the end of that, there is this quote: > You need to invest quite some effort to learn, memorize, and internalize the 30 or so commands that start making you more productive than with other editors. does that seem accurate to you?