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

Implement greater functionality in the CTRL-W keys #3209

Closed
plbowers opened this issue Nov 14, 2018 · 3 comments
Closed

Implement greater functionality in the CTRL-W keys #3209

plbowers opened this issue Nov 14, 2018 · 3 comments

Comments

@plbowers
Copy link

Improved window splitting is now available. Vim emulation should be correspondingly improved.

ctrl-w j
ctrl-w k
ctrl-w +
ctrl-w -
ctrl-w <
ctrl-w >
ctrl-w c

@jpoon
Copy link
Member

jpoon commented Dec 30, 2018

Dupe of #2696? In going through that list, most of the keybindings are already supported.

In an effort to keep the issue count sane, I'm closing this issue, but feel free to re-open if there is something we are missing.

@jpoon jpoon closed this as completed Dec 30, 2018
@Swoorup
Copy link

Swoorup commented Jan 1, 2019

Came here looking for Ctrl-W s (horizontal split)? That is not working. Didn't bother to create a new issue since it was already reported before.

@sdiprizio
Copy link

sdiprizio commented Aug 1, 2019

In macOS :
<C-w>v works as in neovim (keep Ctrl pressed, press w, press v), open a new vertical tab.
<C-w>s does not work, you have to press <C-w>, release keys and then press s.

Probably because <C-w>v is interpreted as <C-w><C-v> by vscode. Both bindings exist in vscodevim (in package.json). <C-s> binding does not exists in vscodevim, and is ignored.

Adding :

{
        "key": "ctrl+s",
        "command": "extension.vim_ctrl+s",
        "when": "editorTextFocus && vim.active && vim.use<C-s> && !inDebugRepl"
}

in "contributes" > "keybindings" section of package.json "fix" the issue.

Committed modifications on a fork, should I do a PR (npm test passed) ?
https://github.com/sdiprizio/Vim/commit/1791f2f962caa4dd4d05d1b6953f35032d15ed40

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