summaryrefslogtreecommitdiff
path: root/src/options.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2018-02-15 19:56:11 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2018-02-15 19:57:21 +0900
commit417bca03dfa9a15a37d64678b5a4a175db6eb0a1 (patch)
treee8ae00a755c07dc9ff6bfcb3fe18620fd7e558a0 /src/options.go
parentcce6aef557b22e28269e1b435e1079a694d43f92 (diff)
downloadfzf-417bca03dfa9a15a37d64678b5a4a175db6eb0a1.tar.gz
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
Diffstat (limited to 'src/options.go')
-rw-r--r--src/options.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.go b/src/options.go
index 160fdd01..bec4d32e 100644
--- a/src/options.go
+++ b/src/options.go
@@ -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":