nvim setup for Clojure which features the clojure-lsp and neoclide/coc.
init.vim
This is the entry point.plugins.vim
All plugins are listed here.settings.vim
Global vim settings here.settings/*
Contain settings for individual plugins.
## neovim
brew install neovim
## clojure-lsp
## https://clojure-lsp.github.io/clojure-lsp/installation/
brew install clojure-lsp/brew/clojure-lsp-native
## vim-plug
## https://github.com/junegunn/vim-plug
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
cd ~/.config
git clone [email protected]:wwiill/nvim.git nvim
On first run of nvim, install plugins with :PlugInstall
- Fire up the repl in your project
lein repl
or similar - Goto definition:
gd
- Goto references:
gr
- Goto previous:
ctrl-o
- Goto next:
ctrl-i
- Evaluate expression:
,ee
- Format code:
!a(zprint
(will format code between parens the(...)
- assumes zprint is available on the PATH)