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

Create new splits when moving windows towards an edge, like standard vim #17

Open
BenjaminBrandtner opened this issue Nov 26, 2018 · 0 comments

Comments

@BenjaminBrandtner
Copy link

Check out this short video: I've got three horizontal splits, all on top of each other and I use the standard vim window commands (CTRL-W + H,J,K,L) to move one of them around.

ezgif-4-055b8fcd6194

When I try to move any of the windows to the right or left, it creates a new vertical split that is completely filled by the window I moved.
And when I try to move the vertically split window downwards or upwards, it deletes the vertical split and becomes a horizontal split again.

Basically, standard vim behaviour is: Trying to move a window towards the "edge" of the entire vim window changes the type of split it is. While the standard window movement commands can be pretty unintutive, this is a feature I quite like.

Any chance you could replicate it in the window move mode of this plugin?

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

1 participant