Add Emacs keybindings to open new/close windows and quit Zed (#22629)
These are more closely like default Emacs bindings. I hope such small and minor changes didn't warrant a discussion in advance. Release Notes: - Added Emacs bindings for creating a new window, closing a window, and quitting zed entirely.
This commit is contained in:
parent
141393232e
commit
c968225b61
2 changed files with 6 additions and 2 deletions
|
@ -57,7 +57,9 @@
|
|||
{
|
||||
"context": "Workspace && !Terminal",
|
||||
"bindings": {
|
||||
"ctrl-x ctrl-c": "workspace::CloseWindow", // kill-emacs
|
||||
"ctrl-x ctrl-c": "zed::Quit", // save-buffers-kill-terminal
|
||||
"ctrl-x 5 0": "workspace::CloseWindow", // delete-frame
|
||||
"ctrl-x 5 2": "workspace::NewWindow", // make-frame-command
|
||||
"ctrl-x o": "workspace::ActivateNextPane", // other-window
|
||||
"ctrl-x k": "pane::CloseActiveItem", // kill-buffer
|
||||
"ctrl-x 0": "pane::CloseActiveItem", // delete-window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue