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

Add support for horizontal splitting with :sp and vertical splitting with :vs #2709

Closed
aquova opened this issue Jun 4, 2018 · 4 comments
Closed

Comments

@aquova
Copy link
Contributor

aquova commented Jun 4, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Feature Request

Environment:

  • Extension (VsCodeVim) version: 0.12.0
  • VSCode version: 1.23.1
  • OS version: Windows 7 Enterprise

I would like the ability to create a horizontal split with :sp and a vertical split with :vs, as is the behavior in native Vim. Currently, :sp and :vs both have the same behavior: to split the window depending on which setting is currently toggled. I would instead like to have the ability to have :sp always split horizontally, regardless of what the current split toggle setting is, and the same goes for :vs.

@Nodman
Copy link
Contributor

Nodman commented Jun 5, 2018

Unfortunately, VSCode does not support mixed layout (vertical and horizontal at the same time), toggling vertical split, while horizontal is active - will result in layout change to vertical and vice versa.

I think it's not really possible for now.

You can read more here

@tyru
Copy link
Contributor

tyru commented Jun 6, 2018

I don't know #2696 and #2697 are equivalent to Vim behavior, but maybe related?

@aquova
Copy link
Contributor Author

aquova commented Jun 6, 2018

As mentioned in the 1.24.0 release notes, it looks like Vim-esque grid behavior will be implemented in the insider VSCode build within the next coming weeks. It would be great to see this feature accompany that change!

See microsoft/vscode#14909

@jpoon
Copy link
Member

jpoon commented Jun 11, 2018

I'm going to close this bug as a dupe of #2696. @rodcloutier also has a prototype going with #2697.

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

No branches or pull requests

4 participants