diff --git a/PSReadLine/KeyBindings.cs b/PSReadLine/KeyBindings.cs index 89564228..26b111f3 100644 --- a/PSReadLine/KeyBindings.cs +++ b/PSReadLine/KeyBindings.cs @@ -330,6 +330,7 @@ void SetDefaultEmacsBindings() { Keys.AltR, MakeKeyHandler(RevertLine, "RevertLine") }, { Keys.AltY, MakeKeyHandler(YankPop, "YankPop") }, { Keys.AltBackspace, MakeKeyHandler(BackwardKillWord, "BackwardKillWord") }, + { Keys.CtrlAltH, MakeKeyHandler(BackwardKillWord, "BackwardKillWord") }, { Keys.AltEquals, MakeKeyHandler(PossibleCompletions, "PossibleCompletions") }, { Keys.CtrlAltQuestion, MakeKeyHandler(ShowKeyBindings, "ShowKeyBindings") }, { Keys.AltQuestion, MakeKeyHandler(WhatIsKey, "WhatIsKey") }, diff --git a/PSReadLine/Keys.cs b/PSReadLine/Keys.cs index 4a621bb2..c7022743 100644 --- a/PSReadLine/Keys.cs +++ b/PSReadLine/Keys.cs @@ -605,6 +605,7 @@ internal static class Keys public static PSKeyInfo CtrlShiftLeftArrow = CtrlShift(ConsoleKey.LeftArrow); public static PSKeyInfo CtrlShiftRightArrow = CtrlShift(ConsoleKey.RightArrow); + public static PSKeyInfo CtrlAltH = CtrlAlt('h'); public static PSKeyInfo CtrlAltY = CtrlAlt('y'); public static PSKeyInfo CtrlAltRBracket = CtrlAlt(']'); public static PSKeyInfo CtrlAltQuestion = CtrlAlt('?');