Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] issue when closing split/terminal #15

Closed
tejo opened this issue May 4, 2015 · 3 comments
Closed

[question] issue when closing split/terminal #15

tejo opened this issue May 4, 2015 · 3 comments
Labels

Comments

@tejo
Copy link

tejo commented May 4, 2015

Hi,

when I run a test (rspec) with neoterm#test#run('file'), a new split is created and the test runs in this new split. If I close this split and rerun the test nothing happens, I would expect a new split with a new term. I have to relaunch nvim to get the test run again. Is this the desired behavior?

thanks

Teo

@kassio kassio added the bug label May 5, 2015
@kassio
Copy link
Owner

kassio commented May 5, 2015

Hi @tejo, if you close the terminal buffer with :q this will happen, because the buffer wasn't close, just hid. I'm studding a way to "re-open" the terminal if it's hidden.

@tejo
Copy link
Author

tejo commented May 5, 2015

@kassio that makes sense. For now I'll use :bd! instead of :q. Thanks.

@kassio
Copy link
Owner

kassio commented May 6, 2015

You, also, may use the neoterm close_all() function, it'll close all terminal buffers:

nnoremap <silent> ,tc :call neoterm#close_all()<cr>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants