Created
June 17, 2023 19:29
-
-
Save ozanmakes/0187f621cbeff0194ef02e2d7ed52ac1 to your computer and use it in GitHub Desktop.
Emacs keybindings for Zed (work in progress)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"bindings": { | |
"ctrl-g": "menu::Cancel", | |
"ctrl-x o": "workspace::ActivateNextPane", | |
"ctrl-tab": "pane::ActivateNextItem", | |
"ctrl-shift-tab": "pane::ActivatePrevItem" | |
} | |
}, | |
{ | |
"context": "Workspace", | |
"bindings": { | |
"ctrl-x ctrl-f": "file_finder::Toggle", | |
"alt-m /": "project_search::ToggleFocus" | |
} | |
}, | |
{ | |
"context": "Editor", | |
"bindings": { | |
"ctrl-w": "editor::Cut", | |
"alt-w": "editor::Copy", | |
"ctrl-y": "editor::Paste", | |
"ctrl-g": "editor::Cancel", | |
"alt-x": "command_palette::Toggle", | |
"ctrl-x ctrl-s": "workspace::Save", | |
"alt-<": "editor::MoveToBeginning", | |
"alt->": "editor::MoveToEnd", | |
"ctrl-space ctrl-e": "editor::SelectToEndOfLine", | |
"ctrl-/": "editor::Undo", | |
"ctrl-u ctrl-space": "pane::GoBack" | |
} | |
}, | |
{ | |
"context": "Editor && mode == full", | |
"bindings": { | |
"ctrl-j": "editor::Newline", | |
"alt-z": "editor::ToggleSoftWrap", | |
"ctrl-s": [ | |
"buffer_search::Deploy", | |
{ | |
"focus": true | |
} | |
] | |
} | |
}, | |
{ | |
"context": "BufferSearchBar", | |
"bindings": { | |
"ctrl-s": "search::SelectNextMatch", | |
"ctrl-r": "search::SelectPrevMatch", | |
"ctrl-g": "buffer_search::Dismiss" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment