More key chords for --bind

Close #1752
This commit is contained in:
Junegunn Choi
2019-11-14 22:39:25 +09:00
parent 23a06d63ac
commit 168453da71
6 changed files with 37 additions and 0 deletions

View File

@@ -417,6 +417,14 @@ func parseKeyChords(str string, message string) map[int]string {
chord = tui.BSpace
case "ctrl-space":
chord = tui.CtrlSpace
case "ctrl-^", "ctrl-6":
chord = tui.CtrlCaret
case "ctrl-/", "ctrl-_":
chord = tui.CtrlSlash
case "ctrl-\\":
chord = tui.CtrlBackSlash
case "ctrl-]":
chord = tui.CtrlRightBracket
case "change":
chord = tui.Change
case "alt-enter", "alt-return":