Skip to content

Commit

Permalink
added xtermjs keybindings (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt authored and lzybkr committed Apr 7, 2019
1 parent 929f4f9 commit e486136
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PSReadLine/KeyBindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ void SetDefaultWindowsBindings()
{ Keys.PageDown, MakeKeyHandler(ScrollDisplayDown, "ScrollDisplayDown") },
{ Keys.CtrlPageUp, MakeKeyHandler(ScrollDisplayUpLine, "ScrollDisplayUpLine") },
{ Keys.CtrlPageDown, MakeKeyHandler(ScrollDisplayDownLine, "ScrollDisplayDownLine") },
// Added for xtermjs-based terminals that send different key combinations.
{ Keys.AltD, MakeKeyHandler(KillWord, "KillWord") },
{ Keys.CtrlAt, MakeKeyHandler(MenuComplete, "MenuComplete") },
{ Keys.CtrlW, MakeKeyHandler(BackwardKillWord, "BackwardKillWord")},
};

// Some bindings are not available on certain platforms
Expand Down

0 comments on commit e486136

Please sign in to comment.