-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Move a single editor from one pane to another with vim ctrl-w
#20205
Comments
Not just vim. To support Sublime Text keybindings I don't see any PRs open for anything similar, I'd like to take a swing at it. So analogous to |
@Igonato please do! If. you want help feel free to book time here: https://calendly.com/conradirwin/pairing |
Closes zed-industries#20205 An action to move the active editor to a pane in a specified direction
Closes zed-industries#20205 An action to move the active editor to a pane in a specified direction
Ready for feedback #21760 Question: should we close the pane if the last item has been moved from it?
Example bindings: "alt-shift-h": ["workspace::MoveItemToPaneInDirection", "Left"],
"alt-shift-l": ["workspace::MoveItemToPaneInDirection", "Right"],
"alt-shift-k": ["workspace::MoveItemToPaneInDirection", "Up"],
"alt-shift-j": ["workspace::MoveItemToPaneInDirection", "Down"],
"ctrl-shift-1": ["workspace::MoveItemToPane", 0],
"ctrl-shift-2": ["workspace::MoveItemToPane", 1],
"ctrl-shift-3": ["workspace::MoveItemToPane", 2],
"ctrl-shift-4": ["workspace::MoveItemToPane", 3],
"ctrl-shift-5": ["workspace::MoveItemToPane", 4],
"ctrl-shift-6": ["workspace::MoveItemToPane", 5],
"ctrl-shift-7": ["workspace::MoveItemToPane", 6],
"ctrl-shift-8": ["workspace::MoveItemToPane", 7],
"ctrl-shift-9": ["workspace::MoveItemToPane", 8] The latter should be added to the Should I also add vim defaults? If so, which exact? |
Closes zed-industries#20205 An action to move the active editor to a pane in a specified direction
Closes zed-industries#20205 An action to move the active editor to a pane in a specified direction
Closes zed-industries#20205 An action to move the active editor to a pane in a specified direction
Closes zed-industries#20205 An action to move the active editor to a pane in a specified direction
Check for existing issues
Describe the feature
In #5574
ctrl-w hjkl
were set up to move between panes andctrl-w HJKL
to move a whole pane in a direction. I'm hoping for a variant of these commands that lets me move a single editor from one pane to another pane.Unless I missed it, I don't think there's a command for this at the moment. I think having that command without any default keymapping would be wonderful.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: