This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-06
Channels
- # aleph (1)
- # beginners (180)
- # calva (16)
- # cider (29)
- # clj-kondo (47)
- # cljsrn (5)
- # clojure (40)
- # clojure-dev (39)
- # clojure-europe (1)
- # clojure-italy (25)
- # clojure-nl (9)
- # clojure-russia (1)
- # clojure-spec (8)
- # clojure-uk (83)
- # clojurescript (54)
- # core-async (2)
- # datomic (20)
- # defnpodcast (7)
- # figwheel (6)
- # fulcro (6)
- # jobs (5)
- # joker (4)
- # kaocha (4)
- # luminus (4)
- # off-topic (8)
- # onyx (6)
- # pathom (14)
- # re-frame (28)
- # reagent (30)
- # remote-jobs (2)
- # shadow-cljs (88)
- # spacemacs (2)
- # specter (17)
- # sql (25)
- # tools-deps (78)
- # xtdb (1)
- # yada (2)
måning
Morning
I'm curious to know which editors Clojure devs here are using between vim, emacs and spacemacs (evil mode) and why. I'm not looking to start a war (seriously 🙂). Looking mainly for people's rationales regarding these three editors. (Maybe respond in a thread here to avoid too much noise for people not interested in the discussion)
spacemacs (holy mode) here
Any specific reasons?
for choosing spacemacs or holy-mode ?
lol, yes. both? both? both!
I was hoping to giphy that, but apparently we don't have that integration
for spacemacs - i really like the layers stuff, the default window-management is great, i'm a fan of helm, and its default dark-mode is almost perfect (i only had to make the background properly black and i was done)
for holy-mode - i'm a longtime emacs user and it was familiar
Fair enough 🙂
for emacs distros in general - i've reached the point of .emacs
bankruptcy several times and i just want to pull in a distro managed by someone else... i went through emacs-live and prelude before settling on spacemacs
I was playing around with spacemacs yesterday and I really like the default colours too
that looks very much like the spacemacs dark theme @U09LZR36F
even to the point of the not-quite-black background
i've always found it a mystery why anyone would make a dark theme for an editor with a not-true-black background
sure, but you can make the background lighter and all mushy when you're viewing in the actual dark, or the foreground darker - why the preponderance of people choosing the former solution ? (there are almost no dark themes around with true-black backgrounds - i looked, before getting down and modifying the spacemacs-dark theme)
Emacs - because I’ve used it for 20+ years, and I don’t want to have to relearn an editor every year or two. A lot of other developers I know seem to always be changing editors, and often use multiple at anyone time.
That's only half an answer though 😉
I'm looking for the why factors
well, at this point it's the advanced productivity that's been built up with these editors.
Ultimately I don't think it matters which of vim/emacs you choose, you just have to learn it very well.
Yeah, vi(m) and emacs will be around forever and that was clear 20 (maybe even 30+) years ago… I’m not sure the same can be said of vscode or atom, though you’ll maybe get 5-10 years out them. Also org-mode and magit — either of those two packages alone make Emacs more than worthwhile.
I use vim because it is quite literally ubiquitous and if you take the time to learn its (very extensive) native features, you can get extremely far with a very lightweight config
with the %
and f / t
matchers and vim-surround, you can basically structurally edit most lisps and get pretty far with most other languages too
and with native features of Clojure and some lightweight scripting/config you can hack together REPL integration with minimal tooling
It's a bit of an opinionated workflow but I derive a lot of liberation from developing using as lightweight tooling as possible
Neovim + my own prepl based tooling plugin https://github.com/Olical/conjure 😄
I used Emacs for Clojure for several years but switched to Atom because I found Emacs' packages to be fragile (updates often broke things) and I tried several curated package groups as well as building configs from scratch. I just felt Emacs involved too much maintenance time and effort. I use vim for quick editing, esp. on remote servers, but I've never used it for core Clojure development so I can't comment on any of the Clojure integrations for it.
And the way to get around non black backgrounds @U0524B4UW is to just have much brighter neon text haha
I do wonder about setting up a function to go from blue->black->blue based on time of day. 😉
@U79NZHC6A this worked pretty well for me: https://gist.github.com/mccraigmccraig/d9c736fef8cd974763a25ee8044f4136
@otfrom, you mean like this? https://twitter.com/bethdean/status/1158790099196268544
even the mouse neons
Building your own keyboard > making your own emacs config
other editors are available. I'm just not able to help people with them as I don't know them
my config is here: https://github.com/otfrom/otfrom-org-emacs
vim is cool
Event reminder: Tonight at SkillsMatter I'm giving a session called "Spacemacs - a journey into the joy of Evil (Vim style editing)" https://skillsmatter.com/meetups/12521-london-clojurians-august
I use Emacs because it is incredibly extensible and yet still very lightweight even with 300 packages installed 🙂 I used to have my own Emacs configuration, but I was missing out on a lot of really useful features that I didn't know existed. I switched to Emacs Live (partly because of the cyberpunk theme) because Clojure just worked and so did autocomplete. Once Emacs Live stopped getting updates I tried Spacemacs and have been hooked ever since. I first used Spacemacs with holy mode (classic Emacs) but gradually picked up the Vim style multi-modal editing. That made a massive positive impact on the way work now.
If I couldnt use Spacemacs, I would probably be using VS Code because the Calva plugin is amazing... and so is the developer 🙂
doom emacs is rather nice as a spacemacs alternative that doesn't make me feel like I'm getting old.
is there a away to make github higher contrast? choose a bold font for the code or just a larger font I know I can ctrl-+ to embiggen everything but I really just want easier-to-read source code?
https://addons.mozilla.org/en-GB/firefox/addon/refined-github-/?src=search this is generally awesome fwiw
will check it out
thanks
https://github.com/StylishThemes/GitHub-Dark supports setting the code theme, but you have to go all-in on dark
https://github.com/stefanbuck/awesome-browser-extensions-for-github it's probablyhere if it exists
that's why I've been avoiding it
https://userstyles.org/styles/71271/github-monokai something like this too
In other github extension news, Octotree is a must-have for me https://chrome.google.com/webstore/detail/octotree/bkhaagjahfmjljalopjnoealnfndnagc
hehe. for > on steroids I read > spotty and paranoid
@ben.hammond and aggressive!
Pi hole?
does it help with facebook ads? they recently started slipping through my uBlock Origin lists
thats the best solution! I do have one and am waiting for the GDPR process to delete an account to be validated
so far it looks it’ll take a while …