You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to use the shortcut Alt-Up/Down for editor:MoveLineUp/Down but does not work.
This works in VSCode so no problem with keyboard or OS.
Instead if change the shortcut to Ctrl+Up/Down then it works.
Keymap.json
{
"context": "Editor",
"bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"]
"alt-shift-up": "editor::DuplicateLineUp", // this does not work
"alt-shift-down": "editor::DuplicateLineDown", // this does not work
"alt-up": "editor::MoveLineUp", // this does not work
"ctrl-down": "editor::MoveLineDown", // this works
}
}
Steps to trigger the problem:
open code
move cursor to anyline
press alt-up/down arrow
Actual Behavior:
No thing changes
Expected Behavior:
Move line up or down.
Summary
Try to use the shortcut
Alt-Up/Down
foreditor:MoveLineUp/Down
but does not work.This works in VSCode so no problem with keyboard or OS.
Instead if change the shortcut to
Ctrl+Up/Down
then it works.Keymap.json
Steps to trigger the problem:
alt-up/down
arrowActual Behavior:
No thing changes
Expected Behavior:
Move line up or down.
Zed Version and System Specs
Zed: v0.174.6 (Zed)
OS: macOS 15.3.0
Memory: 16 GiB
Architecture: aarch64
The text was updated successfully, but these errors were encountered: