Add support for ctrl-space key

Close #825
This commit is contained in:
Junegunn Choi
2017-01-28 02:54:47 +09:00
parent 421b9b271a
commit 36dceecd58
7 changed files with 11 additions and 0 deletions

View File

@@ -393,6 +393,8 @@ func parseKeyChords(str string, message string) map[int]string {
chord = tui.AltZ + int(' ')
case "bspace", "bs":
chord = tui.BSpace
case "ctrl-space":
chord = tui.CtrlSpace
case "alt-enter", "alt-return":
chord = tui.AltEnter
case "alt-space":