Fix terminal key bindings (#12558)
Fixes https://github.com/zed-industries/zed/issues/12556 Only changed the keymap on Linux since I'm not sure if the behaviour is correct on macOS Release Notes: - N/A
This commit is contained in:
parent
be2df79d5c
commit
959f0dcded
2 changed files with 2 additions and 6 deletions
|
@ -642,12 +642,7 @@
|
|||
"pagedown": ["terminal::SendKeystroke", "pagedown"],
|
||||
"escape": ["terminal::SendKeystroke", "escape"],
|
||||
"enter": ["terminal::SendKeystroke", "enter"],
|
||||
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
||||
|
||||
// Some nice conveniences
|
||||
"ctrl-backspace": ["terminal::SendText", "\u0015"],
|
||||
"ctrl-right": ["terminal::SendText", "\u0005"],
|
||||
"ctrl-left": ["terminal::SendText", "\u0001"]
|
||||
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue