-
-
Notifications
You must be signed in to change notification settings - Fork 208
Using the Figwheel REPL with VIM and tmux
scottstackelhouse edited this page Jan 29, 2018
·
3 revisions
You can use the vim-slime plugin to send code to terminal repls. I use it with tmux, but it appears to work with several terminal multiplexers (like screen, for example). The vim-slime page has examples of how to use with tmux.
The vim-slime author recommends installing pathogen.vim, and then simply copy and paste:
cd ~/.vim/bundle
git clone git://github.com/jpalardy/vim-slime.git
In the case of Neovim and Vim 8, I can recommend the vim-plug handler. Your init.vim could look similar to:
call plug#begin('~/.config/nvim/plugged')
Plug 'jpalardy/vim-slime'
call plug#end()
let g:slime_target = "tmux"