Opens :terminal in new buffer, not in split
Closed this issue · 3 comments
gegnew commented
With no configuration, neoterm opens a terminal in a new buffer, closing the old buffer.
To Reproduce
Steps to reproduce the behavior:
- Opened a neoterm with
:T ls
- Send a command
- closed neoterm '....'
- See error
Expected behavior
Expected :T to open a new split
Versions (please complete the following information):
- OS: Manjaro Linux, 4.19.85
- neoterm commit sha1: 9f0e712
- Neovim
- Version 0.4.3
Additional context
Without neoterm installed, :terminal also opens a new buffer and closes the old one. I think this is expected behavior for NeoVim.
Neoterm config consists of (in this order):
filetype off
Plug 'kassio/neoterm'
let &runtimepath.=',/home/g/.local/share/nvim/plugged/neoterm'
filetype plugin on
set nocompatible
kassio commented
Thanks for your issue.
This is the default behavior, but you can change it using g:neoterm_default_mod.
astier commented
I checked out the mods but still can't figure out how to open a terminal in a new buffer (not split) without closing the last buffer. Can somebody help? Thank you.
kassio commented