Emphasize defaults for line movement actions (#25378)

Closes https://github.com/zed-industries/zed/issues/25372

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-02-22 10:08:16 +02:00 committed by GitHub
parent b9ca240242
commit 83513bab59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -84,12 +84,12 @@
"pageup": "editor::MovePageUp", "pageup": "editor::MovePageUp",
"alt-pageup": "editor::PageUp", "alt-pageup": "editor::PageUp",
"shift-pageup": "editor::SelectPageUp", "shift-pageup": "editor::SelectPageUp",
"home": "editor::MoveToBeginningOfLine", "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true }],
"down": "editor::MoveDown", "down": "editor::MoveDown",
"pagedown": "editor::MovePageDown", "pagedown": "editor::MovePageDown",
"alt-pagedown": "editor::PageDown", "alt-pagedown": "editor::PageDown",
"shift-pagedown": "editor::SelectPageDown", "shift-pagedown": "editor::SelectPageDown",
"end": "editor::MoveToEndOfLine", "end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
"left": "editor::MoveLeft", "left": "editor::MoveLeft",
"right": "editor::MoveRight", "right": "editor::MoveRight",
"ctrl-left": "editor::MoveToPreviousWordStart", "ctrl-left": "editor::MoveToPreviousWordStart",

View file

@ -91,12 +91,12 @@
"ctrl-l": "editor::ScrollCursorCenter", "ctrl-l": "editor::ScrollCursorCenter",
"alt-left": "editor::MoveToPreviousWordStart", "alt-left": "editor::MoveToPreviousWordStart",
"alt-right": "editor::MoveToNextWordEnd", "alt-right": "editor::MoveToNextWordEnd",
"cmd-left": "editor::MoveToBeginningOfLine", "cmd-left": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true }],
"ctrl-a": "editor::MoveToBeginningOfLine", "ctrl-a": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true }],
"home": "editor::MoveToBeginningOfLine", "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true }],
"cmd-right": "editor::MoveToEndOfLine", "cmd-right": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
"ctrl-e": "editor::MoveToEndOfLine", "ctrl-e": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
"end": "editor::MoveToEndOfLine", "end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
"cmd-up": "editor::MoveToStartOfExcerpt", "cmd-up": "editor::MoveToStartOfExcerpt",
"cmd-down": "editor::MoveToEndOfExcerpt", "cmd-down": "editor::MoveToEndOfExcerpt",
"cmd-home": "editor::MoveToBeginning", // Typed via `cmd-fn-left` "cmd-home": "editor::MoveToBeginning", // Typed via `cmd-fn-left`