3 ms·
One of the best and most enjoyable ways to get started with Clojure, very well done. The part on setting up emacs was hugely helpful for a VI guy for me who's m
by siavosh 11y ago
One of the best and most enjoyable ways to get started with Clojure, very well done. The part on setting up emacs was hugely helpful for a VI guy for me who's mucked around with other Lisp editor plugins.
- vosper 11y agoHow 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.
- siavosh 11y agoI 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.
- zematis 11y agoTry spacemacs. https://github.com/syl20bnr/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.
- vosper 11y agoThanks, I'll take a look at it
- sotojuan 11y agoI agree. IMO the worst thing "beginner"-level programming books do is let the user figure out a good workflow and environment themselves. That said, I prefer vim with vim-fireplace and paredit-like plugins.