I have a set of commands in my .vimrc manage a "unit test line" and enable to run this upon save in a NeoTerm.
I also use :TREPLSendLine and :TREPLSendSelection and :T <I want this stuff in my terminal>.
In effect I want :Topen to just open bash and then I can lein repl, npm test or something much more specific depending on what I'm doing at that moment.
I realize this might not be completely what NeoTerm is designed for, but it seems like the VIM plugin which is closest and the best at the moment for my mix of use cases.
I used to start NeoTerm with the following config:
let g:neoterm_shell = bash
This worked well, for my unit test runner, except the first time I used :TREPLSendLine it would run a phantom lein repl.
I thought changing my config to
let g:neoterm_repl_command = "bash"
let g:neoterm_direct_open_repl = 1
I do a lot of Node and Clojure at the moment.
I have a set of commands in my .vimrc manage a "unit test line" and enable to run this upon save in a NeoTerm.
I also use
:TREPLSendLine
and:TREPLSendSelection
and:T <I want this stuff in my terminal>
.In effect I want
:Topen
to just open bash and then I canlein repl
,npm test
or something much more specific depending on what I'm doing at that moment.I realize this might not be completely what NeoTerm is designed for, but it seems like the VIM plugin which is closest and the best at the moment for my mix of use cases.
I used to start NeoTerm with the following config:
This worked well, for my unit test runner, except the first time I used
:TREPLSendLine
it would run a phantomlein repl
.I thought changing my config to
But this doesn't work at all :-(