Is this the place to ask questions about the use of vim plugins like fireplace?
I have specific questions about having more than one repl session (for clj and cljs) and how that could work.
Yup, this is the right place, but unfortunately, I can’t help. I use vim-fireplace, but I’m not using cljs.
I’ve started a cljs repl from the clj repl, that worked. But I never tried both at the same time.
@mitchelkuijpers: please don't answer 'SpaceMacs'
:trollface:
@jasoncof: thanks, I stick with the REPL on the command line for now
But I definitely miss being able to jump to doc and source
@gerstree: you mean with fireplace?
Yes, in vim
@gerstree: K
is mapped to look up symbol with doc
and [<C-D>
jumps to definition of a symbol
I know, it's just that I cannot get it to work for both cljs and clj
@gerstree - can I mention ‘SpaceMacs’ then? I hear it has great reviews :simple_smile:
I want to live in Spacemacs. I’d sign up for eHarmony if there was an Emacs package for it.
(Actually, there’s no way I’d ever do that.)
@colin.yates: you sure can, it's just that I dream in vi and have to invest in Emacs a bit.
@akiva: ok then, Spacemacs is on my menu for tonight, I was told there comes a time I have to...
If you have any questions, don’t hesitate to ask. Plenty of Spacemacs users about.
@akiva: Thanks, I may hold you up to this. Dinner and then the game is on.
You bet. Happy to help.
@akiva: just installed according to the instructions at https://github.com/syl20bnr/spacemacs
Started Emacs and it's completely dead. Status line reads "Contacting host: http://tromey.com:80"
Be patient. That’s been happening a lot lately but it is not normal.
http://tromey.com along with others are package repositories.
I've been patient for over half an hour now, is that meant to be?
Okay, yeah, that’s a bit much. Longest I waited was nine minutes but that’s mostly because I forgot it was doing that.
This isn’t a Spacemacs problem, mind you.
@akiva: I guessed that. So here I am, once again figuring out a way to get out of Emacs 😉
Hahaha, you’re going to have to Force Quit.
Sometimes doing that and then just going back in again sorts it.
I figured http://tromey.com was a mirror, so I removed it from /core/core-configuration-layer.el
Now it's installing packages
Boom.
I haven’t gotten too deep into configuring it like that. I have a few things I’ve done.
Holy cow, I'm exiting Emacs for the first time in my life, without thinking. Was that really
:q
😉
Yep. Almost all of the usual vi bindings work everywhere.
Also probably not Spacemacs, but my next excercise is to enable some kind of dark mode. This will keep me awake all night.
You’ll want [SPC] : load-theme
I swear I spent a good half-hour going through each and every theme until I settled on one. I still want to port my vim theme to it.
Just accidentally found the Ctrl-P counterpart. I can check that one.
There’s a themes-megapack you can install as well.
spacemacs dark will do fine for now
Do I need a .spacemacs file if I want to make that change permanent?
Yeah. .spacemacs is where you want to put all configuration stuff. Forget about init.el.
Ok, so far so good. On to connecting to the REPL, that's where I got stuck in vim.
And I mean for both clj and cljs
I’m pretty sure CLJS isn’t compatible with CIDER yet.
Not cider, but piggieback is supposed to work quite ok.
zenburn is really nice (although I find the highlighting a little two low-contrast)
@akiva: Thanks for your help so far. I'm getting the gist of it. I still have to figure out how to get code highlighting and how to connect to a repl. But I will leave that for tomorrow probably.
Right on. I still keep a few tabs open with cheat sheets.
gerstree I’m using vim-fireplace for development and have 12 or so repls going at the same time for various projects
if you want to talk about the vanilla vim stuff I am happy to
I was nudged towards spacemacs in this room not too long ago
and while it does look nice, I am pretty heavily invested in vim myself
set -o vi
in my terminal and all that
I still use vim for quick edits.
@gerstree have a go at that
1. untar it
2. lein repl
3. vi src/fireplace_cljs_example/core.cljs
then you should be able to do your normal operations, for me this include K
for docs, [^d
for goto source, cpp
for eval form etc, cqq
for quasi-repl etc
it should be fully featured
if that isn’t working, it means you have something in your environment that is preventing your from moving forward, maybe java, maybe ~/.lein/profiles.clj
or maybe your fireplace checkout