65
GitHub - liquidz/vim-iced: Clojure Interactive Development Environment for Vim8
source link: https://github.com/liquidz/vim-iced
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
vim-iced
Clojure Interactive Development Environment for Vim8.
WARN: This project is work in progress.
Requirements
- Clojure & Java
- vim-sexp
- No python!
Features
- Asynchronous evaluation
- powered by
channel
in Vim8
- powered by
- Rich functions
- powered by cider-nrepl, refactor-nrepl
- ClojureScript support
figwheel
andnashorn
is supported currently
Installation
vim-plug
Plug 'guns/vim-sexp', {'for': 'clojure'}
Plug 'liquidz/vim-iced', {'for': 'clojure'}
key mappings
vim-iced is providing default key mappings.
To enable default key mappings, add folow line to your .vimrc
.
let g:iced_enable_default_key_mappings = v:true
See vim-iced.txt fot actual mappings.
~/.lein/profile.clj
{:user {:dependencies [[cider/cider-nrepl "0.17.0"] [cljfmt "0.6.0"]] :repl-options {:nrepl-middleware [cider.nrepl/wrap-complete cider.nrepl/wrap-format cider.nrepl/wrap-info cider.nrepl/wrap-macroexpand cider.nrepl/wrap-ns cider.nrepl/wrap-out cider.nrepl/wrap-spec cider.nrepl/wrap-test cider.nrepl/wrap-undef]} :plugins [[refactor-nrepl "2.4.0-SNAPSHOT"]]}}
WARN cider.nrepl/wrap-trace
will cause vim's freezing.
Usage
lein repl
- Open source file
- Evaluate forms (If not connected, vim-iced will connect automatically)
Document
- See vim-iced.txt.
License
Copyright (c) 2018 Masashi Iizuka
Distributed under the MIT License.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK