Anyone using Atom editor (http://atom.io) for clojure development?
I’ve not seen it discussed much in here.
I’ve enjoyed using it when developing in Ruby. I haven’t been able to get my brain wrapped around Cursive yet, so maybe I’ll try to figure out a workflow with it.
I say go with whatever’s most comfortable when learning a new language.
i was asking the same question around here last week
trying to figure out if i should have a look at atom to do a cider-nrepl/refactor-nrepl integration for it
but i don’t think i got many answers...
I personally find it too limiting
i’ve never really tried tbh
I’m a beginner, so I didn’t want to try to learn a emacs as well. I have heard good things about spacemacs though…
spaceemacs is deffo an option. or you can use https://github.com/clojure-emacs/example-config
spacemacs is great if you know vi; not sure I’d recommend it to someone who didn’t already know vi or emacs, though 😉
which gives you a vanilla emacs with all clj goodies (you still need to learn emacs ofc)
But if you don’t know vi, though… [shakes head sadly]
@aaronm I actually would, given the sheer productivity and power you get by learning it
@gjnoonan, but not if they’re also trying to learn a new language, that is.
@gjnoonan: I’d absolutely recommend learning emacs/spacemacs/vim+tpope’s stuff eventually
even if it is learning a step or command a week
but I’m leery of piling on “learn all this other stuff as you’re trying to get into the language"
light table is probably a good option if you’re used to the non-esoteric editors, yeah
everyone learns differently. I can learn multiple things concurrently. Guess I’m lucky
or an 👽 😉
Or cursive if you have never used :vim: or :emacs:
I would absolutely recommend any programmer learn :vim: or :emacs:, as you can take them to pretty much any language you want to use
and as clojure is a lisp and :emacs: is a lisp machine it is just a natural fit 😉
and as someone who likes using a bunch of different languages, I’d much rather stay in one editor than switching between specialized IDEs :simple_smile:
20year :vim: veteran and about 2 weeks with spac:emacs:
I was a 25 year :vim: veteran before switching to :emacs:
I’m surprised at how quickly spacemacs is taking off
Wow, a channel solely for editor wars, nice 😄
I started with it a couple of months ago and at first it was pretty touch-and-go but now it’s solid and sleek.
no wars here, we all join hands and welcome each other, text editors are fun 😉
yep! great discussion everyone!
Yeah, I respect people who use other editors. Hell, I still use IntelliJ for Java.
the problem with having used :vim: for over a decade now is that I can barely use any editor that doesn’t have decent :vim: emulation, though 😦
@aghecht: if I were writing Java, I’d probably use IntelliJ as well, to be honest.
@aghecht: Couldn’t use anything less for Java. I have VI emulation on top, but that is just because of muscle memory
I use Emacs emulation for the same reason.
Uhm, eclipse anyone?
intellij is great for java
way less a pain than eclipse (for me anyways)
++spacemacs for clj though
still use :vim: for editing pom files and stuff though
I’m with @chris. If I’m shelled in somewhere and I need to quickly edit files, I go for vim. But if I’m local and I’ve Spacemacs up, I practically live in there. Org mode and the like.
my experience with eclipse involved a lot of frustration and crashes; IntelliJ seemed better for me.
Hi! Ppl if you are using vim for clj editing how do you move between/inside s-exp-es? What plugins/tricks are there to easily edit clj code? inserting at the beginning/end of s-exp, moving inside/outside s-exp-es etc? Thanks.
@akiva i need to try and start to use org mode more, since it was one of the reasons that swayed me!
One of my plans is to one day write a better Org mode client for iOS. That’s all that’s stopping me from dropping OmniFocus as my todo manager.
Thanks, I'm looking at vim-sexp and it looks promising. I've read that emacs is better for clojure editing. Why is that?
Neovim has already terminal integration, although the tools are maybe not very good yet
@davs emacs is a lisp interpreter, so it's very natural to extend it for Clojure. Also, CIDER provides a direct connection between the editor buffer and running code... Emacs has a learning curve but we'll worth it.
emacs is built on lisp, so it has a long history of strong lisp tooling. vim has come a long way toward catching up, though.
it can talk to nrepl using a package called
fireplace, for example
It really just comes down to personal preference, except that if your personal preference happens not to be Emacs, it’s wrong.
Ha ha, you mixed up cursive with emacs
Java IDEs considered acceptable emacsen
emacsen without emacsy
I think we should all use Notepad/TextEdit/thelike to be fair 😜
given that we have tooling like cursive capable of relatively powerful automated refactorings I’d challenge you to defend that position 😛
[drops mic, strolls away]
dis gon b gud
COSMAC 1802 Elf, Hex Keyboard, 256 Bytes of RAM
@akiva: my father’s a programmer, I used to get “back in my day” stories about punch cards 😉
Learned pascal on punch cards, try indenting a procedure...
Hah, yeah, I’ve never had to do it. I got my start in BASIC and 6502 assembly language.
6502 was a nice chip
Apple IIe plug z80?
Although I had one of those too.
c64 is my al time favourite computer. Well tied with an Amiga 500
man those were the days
Heck yeah. Built a career out of it.
[drops mic again]
I do not miss the day when OSs came on 50 floppy disks.
I always found it herapeutic changing the disks, and it was a great sense of accomplishment
OS/2 with Presentation Manager @ Microsoft University, just sayin - oh the irony
@gjnoonan: Probably in the same way it felt almost Zen-like watching a defrag.
@aaronm: 20 years ago I worked with someone who used ed. The scary/strange part was that he was as fast with ed as most people were with vi.
well, vi was originally just a screen interface for ex, which was a fork of ed; I suppose if you’re really used to it...
using spacemacs I am trying to make
work but to no avail, have put it in my config layer, and also eval’d it in the scratch
(global-set-key (kbd "M-3") '(lambda () (interactive) (insert "#")))
I dunno, this works fine if you bind it to another key (^3 works fine), but it doesn’t want to let me rebind meta
it’s being overridden by window-numbering-mode, but I don’t know enough about emacs yet to diagnose how to fix that
disabling window-numbering-mode fixes it
or, figured this out: if you want to keep window-numbering-mode working except for that one key,
(define-key window-numbering-keymap (kbd "M-3") '(lambda () (interactive) (insert "#")))
but it adds the key definition to the mode’s keymap instead of trying to bind it globally
aaronm: you need to tripple tick multi line pastes.
didn’t think there was a newline in it 😉
aaronm: single ticks only work for pastes without newline
if you up arrow promptly you can edit for ~3min
oh cool, thanks. new at slack.
but only your last message [ this is edit text ]
@arrdem: Eh? If you hover to upper right of your messages, you'll see gear. click it and you can choose edit. Don't think there is any time limit.
Can also delete messages
oh neat I didn’t see that… but there is definitely a lockout time at least in the other slacks I’m on
it can be set at the team level, apparently
Thanks guys, will just disable the mode as I never use it