klen / nvim-test

A Neovim wrapper for running tests
MIT License
176 stars 26 forks source link

feature request: `go_back_immediately` to focus back directly after test start #21

Open fwolfst opened 1 year ago

fwolfst commented 1 year ago

Thanks, plugin works nice on my setup (using it for Ruby/rspec).

I have a feature request: I assumed the option termOpts < go_back would let me focus back my previous window immediately. Unfortunately the focus changes only after the test run is finished. An option go_back_immediately (overriding go_back) would be great.

Currently my workaround is this map <Leader>T :TestFile<CR><c-w><c-p> (execute TestFile and WindowPrevious).