This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-30
Channels
- # arachne (5)
- # beginners (42)
- # cider (35)
- # cljs-dev (25)
- # cljsrn (2)
- # clojure (107)
- # clojure-dev (32)
- # clojure-finland (2)
- # clojure-greece (3)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-spec (27)
- # clojure-uk (45)
- # clojurescript (152)
- # core-async (3)
- # cursive (26)
- # data-science (4)
- # datomic (33)
- # defnpodcast (1)
- # duct (12)
- # editors (3)
- # emacs (6)
- # events (5)
- # fulcro (6)
- # jobs (1)
- # lein-figwheel (9)
- # off-topic (7)
- # onyx (7)
- # re-frame (1)
- # reagent (9)
- # reitit (31)
- # shadow-cljs (130)
- # slack-help (1)
- # spacemacs (53)
- # tools-deps (55)
- # yada (4)
i'm playing around with the Learn Reagent tutorial just for fun and it uses shadow-cljs but I don't seem to have this command: M-x cider-create-sibling-cljs-repl Any advice on how to get that going? I'm trying to use the instructions provided here:https://shadow-cljs.github.io/docs/UsersGuide.html#_launch_the_clojurescript_repl
@U9J50BY4C the M-x cider-create-sibling-cljs-repl
is my Spacemacs setup which is running CIDER 18-snapshot, specifically
.emacs.d/elpa/25.3/develop/cider-20180509.109/
I use the develop
branch of Spacemacs, which will pick up the latest snapshots of Cider and other packages when I do an Update Packages
from the Spacemacs home page.
If you are using Spacemacs develop
then run Update Packages
and you should have that command
If you are using the master
branch of Spacemacs, the default, you may only have earlier (stable) versions of Cider. If you are not sure which Spacemacs branch you are using, then
cd ~/.emacs.d/
git branch
thanks for the info! I'm on the default but am not opposed to the develop branch at all as long as it's reasonably stable to learn clojure with. i'll go find out how to switch to the develop branch now!
git checkout -b develop origin/develop I guess this is all i need to do so that is great.
I can attest to that: I've been using Spacemacs' develop branch for over 3 years now. Number of times something broke to the point that i had to spend more than 15 minutes to fix it? Exactly four. Ironically things get fixed faster on develop
that is good to hear. it's funny though i'm having a couple issues already. SPC f t to bring up neotree is very glitchy, sometimes splitting my main window. And there is a package ac-ispell that it can't find but it tries to load every time i open emacs. and i still don't have that cider-create-sibling-cljs-repl.
hmmm. i did however have a cider-connect-sibling-cljs and that worked even though i don't know how i created it in the first place. and neotree is working fine now! thanks folks.
the 30 sec start time because it's looking for that ac-ispell package is still annoying though.
I generally, would suggest not using Neotree. IMO It's way too buggy and unpredictable. Have you considered Treemacs instead? I personally use direx
.
i'll look into those options. i have basic vim text manipulation skills but not much else in terms of workflow and such in vim, emacs, emacs+evil, spacemacs, cider...lol
if you get over the basics (buffers vs tabs), fear of having to write elisp, etc. very quickly you find that Emacs can Vim better than Vim. In addition to that it lets you do quite mindblowing things.
oh yeah, i'm sold on emacs+evil for sure. spacemacs seems great but quite heavy coming from vim. but i can't imagine i'll be able to roll my own config of emacs+evil seamlessly linked to clojure(script)/cider any better (and with this kind of ui). and i can play with org mode and magit too. doing all that on my own seems daunting.
Take things À la carte. Of course it would feel like insurmountable mountain. Don't rush. If you started using Org-mode, just start writing down every single problem you encounter. Slowly you will fix many of them, and some of them may not even need fixing.
definitely. i enjoyed setting up my vimrc but it was minimal. with emacs+evil, i think i would basically want it to be like spacemacs anyways. the documentation is good too and you folks and the gitter are super helpful. i've read of veteran emacs users fed up with maintaining their huge configs and preferring spacemacs to that anyways.
plus i need to focus on writing and learning software development! i lose focus on that sometimes playing with my tooling
investing in tooling never felt so good and practical. Because I'm sure 10-15 years from now things I improve in my workflow say regarding org-mode. I'm pretty confident that some of it still will be relevant
besides at some point you realize, when you have to do something, it's so easy to write a function. e.g. I realized that very often when I type a ticket number, I really like to have it as a url. It took me literally 10 minutes to write a function for that
it just works for me now. besides, it is largely my "own config". It consists of my customized Spacemacs layers
For many months I have tried building my own evil based config. A few times I've announced .init file bankruptcy and have started over.
at this point I do feel very comfortable - If I ever have to roll my own config, I can do it. But Spacemacs works for me and makes sense for me. Until it stopes making sense... I will use it
makes sense to me. when i was researching it seemed people thought it was too hard to make their own customization on top of spacemacs but i'm suspecting that might be a little overstated.
it is absolutely wrong assessment. Spacemacs feels big for a reason. It's opinionated and bloated, yes. But nothing stopping anyone from removing things they don't want. Spacemacs doesn't make Emacs less customizable.
@U9J50BY4C for a vim driven file explorer, i use ranger. its lightweight and has file previews https://practicalli.github.io/spacemacs/working-with-projects/ranger.html
space 0
for tree, space 1
to window
Or maybe space 2 or 3, depends on how much windows you have
Also, in tree you can type ?
and see hints to work with it
@mario.cordova.862 I don't recommend using neotree... try treemacs or direx. more time you waste trying to tame neotree - the more it frustrates you
@ag what would be a reason to choose one of those two over the other? I’m up for trying one, but possibly not both. Or if you don’t feel like doing the full explanation, just tell me which one you like better 😉
I personally use Direx (that one I discovered before Treemacs). It is a simple tree, with output similar to the command line tool with the same name.
And it looks like treemacs-evil
if you’re the evil sort? Or is that automatic w the spacemacs layer?
@mario.cordova.862 in my experience it’s usually the best bet to just do whatever @ag recommends 😆
first thing you'd probably would like to change is the icon-sizes in treemacs. You can use M-x treemacs-resize-icons
Here's an extremely terse summary of the treemacs advantages over neotree for anyone else who's interested: https://www.reddit.com/r/emacs/comments/7249jt/comment/dnfqtj1