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

Opening betterTerm in current window #6

Open
Maritsu opened this issue Feb 10, 2023 · 3 comments
Open

Opening betterTerm in current window #6

Maritsu opened this issue Feb 10, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Maritsu
Copy link

Maritsu commented Feb 10, 2023

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.

@CRAG666
Copy link
Owner

CRAG666 commented Feb 18, 2023

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

@CRAG666 CRAG666 added the enhancement New feature or request label Feb 21, 2023
@saccarosium
Copy link

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?

@Maritsu
Copy link
Author

Maritsu commented Aug 4, 2023

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

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

No branches or pull requests

3 participants