Fix ctrl-delete in terminal (#30720)
Closes #30719 Release Notes: - Fixed `ctrl-delete` in terminal, now it deletes a word forward
This commit is contained in:
@@ -928,6 +928,7 @@
|
|||||||
"alt-b": ["terminal::SendText", "\u001bb"],
|
"alt-b": ["terminal::SendText", "\u001bb"],
|
||||||
"alt-f": ["terminal::SendText", "\u001bf"],
|
"alt-f": ["terminal::SendText", "\u001bf"],
|
||||||
"alt-.": ["terminal::SendText", "\u001b."],
|
"alt-.": ["terminal::SendText", "\u001b."],
|
||||||
|
"ctrl-delete": ["terminal::SendText", "\u001bd"],
|
||||||
// Overrides for conflicting keybindings
|
// Overrides for conflicting keybindings
|
||||||
"ctrl-b": ["terminal::SendKeystroke", "ctrl-b"],
|
"ctrl-b": ["terminal::SendKeystroke", "ctrl-b"],
|
||||||
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
||||||
|
|||||||
@@ -1012,6 +1012,7 @@
|
|||||||
"alt-b": ["terminal::SendText", "\u001bb"],
|
"alt-b": ["terminal::SendText", "\u001bb"],
|
||||||
"alt-f": ["terminal::SendText", "\u001bf"],
|
"alt-f": ["terminal::SendText", "\u001bf"],
|
||||||
"alt-.": ["terminal::SendText", "\u001b."],
|
"alt-.": ["terminal::SendText", "\u001b."],
|
||||||
|
"ctrl-delete": ["terminal::SendText", "\u001bd"],
|
||||||
// There are conflicting bindings for these keys in the global context.
|
// There are conflicting bindings for these keys in the global context.
|
||||||
// these bindings override them, remove at your own risk:
|
// these bindings override them, remove at your own risk:
|
||||||
"up": ["terminal::SendKeystroke", "up"],
|
"up": ["terminal::SendKeystroke", "up"],
|
||||||
|
|||||||
Reference in New Issue
Block a user