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

Option to open Terminal in horizontal split #258

Closed
cptchuckles opened this issue Oct 25, 2023 · 2 comments
Closed

Option to open Terminal in horizontal split #258

cptchuckles opened this issue Oct 25, 2023 · 2 comments

Comments

@cptchuckles
Copy link

Is your feature request related to a problem? Please describe.
I want to be able to configure SnipRun to open a horizontal split for Terminal instead of a vertical split

Describe the solution you'd like
a config option to make the terminal split horizontally

Describe alternatives you've considered
I usually have to move the terminal window down with <ctrl>wJ and then navigate back up to my text buffer but that's getting old

Additional context
pls

@michaelb
Copy link
Owner

Last commit on dev branch should contain a fix with the following additional options

display_options = {
    terminal_position = "vertical", --# or "horizontal", to open as horizontal split instead of vertical split
    terminal_width = 45,          --# change the terminal display option width (if vertical)
    terminal_height = 20,         --# change the terminal display option height (if horizontal)
    }

You're welcome to try it out, or wait for the next sniprun release (probably a reasonable amount of time)

@michaelb
Copy link
Owner

merged and released in v1.3.8

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

No branches or pull requests

2 participants