No description or website provided.
JavaScript Clojure Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


My clojure learning lab...

Setting up a Vim and Screen based dev environment for

1. Get clojure zips from  Meh, lein will do this.
2. VimClojure (for paren matching and rainbow parens, not NailGun)
    - download VimClojure:
    - unzip it in your ~/.vim/ dir 
    - for sending code to screen via slime 
    - add to .vimrc:

    " for clojure
    set nocompatible
    filetype plugin indent on
    let vimclojure#HighlightBuiltins = 1
    let vimclojure#ParenRainbow = 1
    nmap <C-m> ggVG<C-c><C-c>

3. Get slime.vim to integrate with the repl
    - copy and paste and put in ~/.vim/plugin


4. Enhancing Clojure REPL with rlwrap:
    - create
    - copy and paste to create ~/.clj_completions
    - copy and paste to create ~/.inputrc
    - I do this for a couple of reasons for clj_completions and for the bash
    script to start the repl

5. screen/byobu
    - quick start:
    byobu -S clojure to start screen with named session
    Ctrl-A S to split screen
    Ctrl-A :resize to resize
    Ctrl-A tab to move to lower
    Ctrl-A c to create new in lower

6. start repl once via, and send the gen_clj_completions.clj to the repl via slime:
    java -cp path/to/clojure.jar clojure.main
    in vim with gen_clj_completions.clj, C-c, C-c

7. exit the repl and start forever after in the lower screen with

8. Highly recommend the build tool Leiningen