betterTerm.nvim
betterTerm.nvim copied to clipboard
Opening betterTerm in current window
I've been wondering if there's a way to not only have the default config open terminals in a new window located at the bottom of the screen, but also to have a custom keymap that opens a betterTerm instance in the currently focused window instead of at the bottom of the screen.
It is something possible but I have no idea how to do it, you could try with the configurations changing bot for some other position of vim
It possible but the are some difficulties depending on how you want the terminal to behave. @Maritsu Do you wanna a toggle functionality, something like you open the terminal in the current window then you re-hit you key bind for toggling the terminal and goes back to the previous buffer you were editing? Or you simply close that window when the terminal closes?
It possible but the are some difficulties depending on how you want the terminal to behave. @Maritsu Do you wanna a toggle functionality, something like you open the terminal in the current window then you re-hit you key bind for toggling the terminal and goes back to the previous buffer you were editing? Or you simply close that window when the terminal closes?
To be honest either one would be fine. Initially I was thinking about the last option you suggested - just closing the window when the terminal closes.
Other than that, anything works to be honest