Skip to content

Add C-w (H|J|K|L) commands to move editor groups#9891

Open
cpmsmith wants to merge 1 commit intoVSCodeVim:masterfrom
cpmsmith:move-window-commands
Open

Add C-w (H|J|K|L) commands to move editor groups#9891
cpmsmith wants to merge 1 commit intoVSCodeVim:masterfrom
cpmsmith:move-window-commands

Conversation

@cpmsmith
Copy link
Copy Markdown

@cpmsmith cpmsmith commented Jan 7, 2026

What this PR does / why we need it:
Adds the default Vim mappings for the four directional commands for moving windows (editor groups in VSCode parlance).

Which issue(s) this PR fixes
Fixes #8284

Special notes for your reviewer:
These commands don't exactly match the original Vim maps: the Vim commands move a window as far as possible in the given direction, whereas the VSCode commands move an editor group one space over. However, I still think it's better than nothing, and I didn't see any simple way of making them behave exactly the same.

@cpmsmith cpmsmith changed the title Add C-W (H|J|K|L) commands to move editor groups Add C-w (H|J|K|L) commands to move editor groups Jan 7, 2026
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

Successfully merging this pull request may close these issues.

Support Ctrl-W uppercase HJKL to move windows (grouped editors)

1 participant