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

Request: Vertical split #14

Open
rafi opened this issue Nov 27, 2017 · 2 comments
Open

Request: Vertical split #14

rafi opened this issue Nov 27, 2017 · 2 comments

Comments

@rafi
Copy link

rafi commented Nov 27, 2017

The plugin currently splits only horizontally, it would be nice to allow vertical too.

@wellle
Copy link
Owner

wellle commented Nov 27, 2017

@rafi: Hey, thanks for the suggestion!

Could you give me some background or an example use case where this would be useful? I could imagine maybe when you're looking at some wide table with 'nowrap' and want to keep one column fixed while scrolling horizontally? In which case I guess you'd want both windows to have 'scrollbind'? Do you have anything concrete in mind?

Also what would the interaction look like? Select a word and split it off to the left or right? Or based on a rectangular selection? Ideas for function names and/or mappings?

Thanks again for the input 👍

@dusty-phillips
Copy link

For my part, a vertical resize might be more interesting than vertical splits. I imagine doing ctrl-V rectangular select and then typing a keybinding to resize vertically to the selection.

This would be most useful in resizing plugin windows that are taking up extra space (ChadTree and fugitive are the ones I have in mind).

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

3 participants