Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

clojure-vim/vim-jack-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-jack-in

Jack in to Boot, Clj & Leiningen from Vim. Inspired by the feature in CIDER.el.

Depends on vim-dispatch to run commands in background. If you’re using Neovim I can recommend vim-dispatch-neovim

Plug 'tpope/vim-dispatch'
Plug 'clojure-vim/vim-jack-in'
" Only in Neovim:
Plug 'radenling/vim-dispatch-neovim'

Provides a couple of helper commands for "jacking" in to a Clojure REPL by auto-starting it. Highly inspired by CIDER.el’s feature by the same name.

Commands

These run inside the directory vim is currently in. In the future it would be nice to run relative to the current file. To run boot & lein, dispatch-:Start is used with the bang option.

Boot

:Boot [args]

Start boot with CIDER-nrepl and Refactor-nrepl automatically injected. [args] is a list of tasks to run in boot. If not provided, g:default_boot_task is used instead.

Clj

:Clj [args]

Start clj with CIDER-nrepl and Refactor-nrepl automatically injected. [args] is a list of options to run in clj. If not provided, no aditional options will be used.

Lein

:Lein [args]

Start lein with CIDER-nrepl and Refactor-nrepl automatically injected. [args] is a list of tasks to run in lein. If not provided, g:default_lein_task is used instead.

Variables

g:default_boot_task Control the default task to start boot with. Defaults to "repl"

g:default_lein_task Control the default task to start lein with. Defaults to "repl"

About

cider-jack-in for vim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Morty Proxy This is a proxified and sanitized view of the page, visit original site.