Evaluating code inside vim?

I’m hoping someone can suggest a vim plugin (well, neovim) which might allow me to evaluate a function from the editor, as if I’m doing it from a repl.

For example when I write clojure, I have the excellent ‘conjure’ plugin. I use


to recompile and


to evaluate whichever S-expression I’m on at the time. At no point do I have to switch between vim and a separate terminal window.

Does something like that exist in elixir?

It may not be exactly what you’re wanting, but I use vim-slime and run an iex shell in either nvim’s terminal or in tmux.

Thanks @keathley that looks perfect!