diff --git a/PSReadLine/KeyBindings.cs b/PSReadLine/KeyBindings.cs index 89564228..7c8f1003 100644 --- a/PSReadLine/KeyBindings.cs +++ b/PSReadLine/KeyBindings.cs @@ -270,6 +270,7 @@ void SetDefaultEmacsBindings() { { Keys.Backspace, MakeKeyHandler(BackwardDeleteChar, "BackwardDeleteChar") }, { Keys.Enter, MakeKeyHandler(AcceptLine, "AcceptLine") }, + { Keys.CtrlEnter, MakeKeyHandler(AcceptLine, "AcceptLine") }, { Keys.ShiftEnter, MakeKeyHandler(AddLine, "AddLine") }, { Keys.LeftArrow, MakeKeyHandler(BackwardChar, "BackwardChar") }, { Keys.RightArrow, MakeKeyHandler(ForwardChar, "ForwardChar") },