mirror of
https://github.com/zed-industries/zed.git
synced 2026-07-09 16:00:35 +00:00
helix: Add z c keymap to ScrollCursorCenter (#58660)
Helix's keymap to `Vertically center the line` (`align_view_center` command) is `zc` ([documentation](https://docs.helix-editor.com/keymap.html#view-mode)). Release Notes: - Added Helix's `z c` keymap to editor, project panel and outline panel to scroll cursor to center
This commit is contained in:
parent
56562c28b0
commit
dfb70de652
1 changed files with 5 additions and 0 deletions
|
|
@ -550,6 +550,9 @@
|
|||
"space y": "editor::Copy",
|
||||
"space /": "pane::DeploySearch",
|
||||
|
||||
// View mode
|
||||
"z c": "editor::ScrollCursorCenter",
|
||||
|
||||
// Debug mode (Helix space G)
|
||||
"space shift-g l": "debugger::Start",
|
||||
"space shift-g r": "debugger::Restart",
|
||||
|
|
@ -1007,6 +1010,7 @@
|
|||
"ctrl-d": "project_panel::ScrollDown",
|
||||
"z t": "project_panel::ScrollCursorTop",
|
||||
"z z": "project_panel::ScrollCursorCenter",
|
||||
"z c": "project_panel::ScrollCursorCenter",
|
||||
"z b": "project_panel::ScrollCursorBottom",
|
||||
"0": ["vim::Number", 0],
|
||||
"1": ["vim::Number", 1],
|
||||
|
|
@ -1038,6 +1042,7 @@
|
|||
"ctrl-d": "outline_panel::ScrollDown",
|
||||
"z t": "outline_panel::ScrollCursorTop",
|
||||
"z z": "outline_panel::ScrollCursorCenter",
|
||||
"z c": "outline_panel::ScrollCursorCenter",
|
||||
"z b": "outline_panel::ScrollCursorBottom",
|
||||
"0": ["vim::Number", 0],
|
||||
"1": ["vim::Number", 1],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue