News for hackers. Stuff that matters.
Re:Show HN: Clojure for the Brave and True – now free online by vosper on Wednesday October 21, 2015 @04:17PM (#10428346)
How do you feel about developing Clojure in Emacs, as a Vi guy?

I'm also more at home in Vi, but I ended up going with Cursive when I began learning Clojure (and I highly recommend it), but I've always been curious about the Emacs option.

Re:Show HN: Clojure for the Brave and True – now free online by zematis on Thursday October 22, 2015 @03:04PM (#10434257)
Try spacemacs. https://github.com/syl20bnr/spacemacs/

It's an emacs configuration meant to be a hybrid of the best in emacs and vim. I'm a vim user of several years, and am just beginning to do some clojure development of my own, so I recently made the switch.

There's definitely a learning curve, but it's much, much less involved then learning either emacs or vim on their own. And you get to keep the vim editing style.

A couple of things to get used to:

- Space for the leader (it's actually great).

- Escape mostly stops things, but not always. Ctrl-g is a safer option.

- q closes many popup windows.

- Using lisp to do everything in the config file (.spacemacs)

The docs are a good place to start. Also C-h will bring up an extensive help menu.

You'll want to add the clojure layer to your .spacemacs, as one of the dotspacemacs-configuration-layers.

Re:Show HN: Clojure for the Brave and True – now free online by vosper on Thursday October 22, 2015 @03:27PM (#10434434)
Thanks, I'll take a look at it
Re:Show HN: Clojure for the Brave and True – now free online by siavosh on Thursday October 22, 2015 @02:43PM (#10434068)
I don't use it everyday, as Clojure is just a side hobby for me. I had tried LightTable and another dedicated lisp editor but at the end I just embraced Emacs instead of fighting it. I'm still a novice, and I struggle between a cheat sheet, but I figure it's such a rich environment for Lisp that I wouldn't be limited by it as I grew. So my philosophy has been, when in Lisp land, do as the Lisp people do...

That said a friend of mine recommended some promising vi plugins which look quite good.