Skip to content

Commit 5afeced

Browse files
TylerLeonhardtdaxian-dbw
authored andcommitted
Revert "Change the key binding 'Alt+D' to 'Alt+Shift+D' for the windows edit mode (#1037)" (#1040)
This reverts commit 3f6975c.
1 parent 7d779cf commit 5afeced

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

PSReadLine/KeyBindings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void SetDefaultWindowsBindings()
230230
{ Keys.F8, MakeKeyHandler(HistorySearchBackward, "HistorySearchBackward") },
231231
{ Keys.ShiftF8, MakeKeyHandler(HistorySearchForward, "HistorySearchForward") },
232232
// Added for xtermjs-based terminals that send different key combinations.
233-
{ Keys.AltShiftD, MakeKeyHandler(KillWord, "KillWord") },
233+
{ Keys.AltD, MakeKeyHandler(KillWord, "KillWord") },
234234
{ Keys.CtrlAt, MakeKeyHandler(MenuComplete, "MenuComplete") },
235235
{ Keys.CtrlW, MakeKeyHandler(BackwardKillWord, "BackwardKillWord")},
236236
};

PSReadLine/Keys.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ internal static class Keys
532532
public static PSKeyInfo AltY = Alt('y');
533533
public static PSKeyInfo AltZ = Alt('z');
534534
public static PSKeyInfo AltShiftB = Alt('B');
535-
public static PSKeyInfo AltShiftD = Alt('D');
536535
public static PSKeyInfo AltShiftF = Alt('F');
537536
public static PSKeyInfo AltSpace = Alt(ConsoleKey.Spacebar); // !Windows, system menu.
538537
public static PSKeyInfo AltPeriod = Alt('.'); // !Linux, CLR bug

0 commit comments

Comments
 (0)