I want to learn Clojure and I don't want to think about a new editor, or a bunch of new mappings
These are my minimum requirements that make me happy
TL;DR
1) install vim 2) install vim-fireplace and vim-cljfmt 3) add some shit to your ~/.lein/profile.clj
- vim
- you can use system vim or brew or whatever the fuck
- I build from source on linux
- vim-fireplace
- reference README but mostly you
:Connect
to a running nREPL - often I will
:Require
the current buffer and play around in the repl K
to look up inline docs is nice- check out
:Source
,:Doc
, and:FindDoc
too
- reference README but mostly you
- vim-cljfmt
- A tiny plugin that works with the running nREPL
- obviously this formats your Clojure, which is nice for me right now because I don't want to think about nice paren related plugins. Maybe later. I try my best, and fall back on this
- I make these changes to my
~/.lein/profiles.clj
:
{:user {:plugins [[cider/cider-nrepl "0.16.0"]
[lein-cljfmt "0.5.7"]]
:dependencies [[cljfmt "0.5.7"]]
:repl-options {:init (require 'cljfmt.core)}}}
- This Paramount color scheme is so nice because it's mostly 3 colors
- "A minimal colorscheme for Vim that only puts emphasis on the paramount."
- I just seem to really enjoy a simpler look to lisps