Skip to content

Commit

Permalink
macos: Add default keybind for ctrl-home / ctrl-end (zed-industries#2…
Browse files Browse the repository at this point in the history
…1007)

This matches the default behavior on native macos apps.
ctrl-fn-left == ctrl-home == MoveToBeginning
ctrl-fn-right == ctrl-end == MoveToEnd
  • Loading branch information
notpeter authored Nov 21, 2024
1 parent 4c7b48b commit 614b3b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/keymaps/default-macos.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
"ctrl-e": "editor::MoveToEndOfLine",
"cmd-up": "editor::MoveToBeginning",
"cmd-down": "editor::MoveToEnd",
"ctrl-home": "editor::MoveToBeginning",
"ctrl-end": "editor::MoveToEnd",
"shift-up": "editor::SelectUp",
"ctrl-shift-p": "editor::SelectUp",
"shift-down": "editor::SelectDown",
Expand Down

0 comments on commit 614b3b9

Please sign in to comment.