Skip to content

Commit

Permalink
Handle ^H on backspace (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
unkaktus authored and xiaq committed Dec 18, 2017
1 parent 24ede4c commit 833224e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edit/insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func init() {
{'W', ui.Ctrl}: "kill-word-left",
{ui.Backspace, 0}: "kill-rune-left",
// Some terminal send ^H on backspace
// ui.Key{'H', ui.Ctrl}: "kill-rune-left",
{ui.Delete, 0}: "kill-rune-right",
ui.Key{'H', ui.Ctrl}: "kill-rune-left",
{ui.Delete, 0}: "kill-rune-right",
// Inserting.
{'.', ui.Alt}: "insert-last-word",
{ui.Enter, ui.Alt}: "insert-key",
Expand Down

0 comments on commit 833224e

Please sign in to comment.