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

Feature request: close split window via Ctrl-W, C #2467

Closed
nzbart opened this issue Mar 22, 2018 · 2 comments
Closed

Feature request: close split window via Ctrl-W, C #2467

nzbart opened this issue Mar 22, 2018 · 2 comments

Comments

@nzbart
Copy link

nzbart commented Mar 22, 2018

I opened a vertical split window with Ctrl-W, V, and then attempted to close it with Ctrl-W, C. The split window didn't close as expected.

Steps to reproduce:

  1. Open a file for editing.
  2. Split the window using Ctrl-W, V.
  3. Attempt to close the newly opened split window with Ctrl-W, C. It doesn't work.

Environment:

VsCode 1.21.1
Vim emulation 0.11.2
Windows 10

@yogan
Copy link

yogan commented Mar 26, 2018

I agree that it would be nice if VSCodeVim would offer this out of the box.
However, you can bind this yourself. Edit keybindings.json and add this snippet:

    {
        "key":     "ctrl+w c",
        "command": "workbench.action.closeActiveEditor",
        "when":    "vim.mode != 'Insert'"
    }

@tyru
Copy link
Contributor

tyru commented May 5, 2018

Fixed in #2600 (sorry Fixes #xxx comment was wrong...)

@jpoon jpoon closed this as completed May 5, 2018
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