Add shift-up and shift-down

For now, they are respectively bound to preview-up and preview-down
by default (TBD).

Not available on tcell build.

Close #1201
This commit is contained in:
Junegunn Choi
2018-02-15 19:56:11 +09:00
parent cce6aef557
commit 417bca03df
5 changed files with 23 additions and 15 deletions

View File

@@ -426,6 +426,10 @@ func parseKeyChords(str string, message string) map[int]string {
chord = tui.PgUp
case "pgdn", "page-down":
chord = tui.PgDn
case "shift-up":
chord = tui.SUp
case "shift-down":
chord = tui.SDown
case "shift-left":
chord = tui.SLeft
case "shift-right":