diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2018-04-12 17:39:28 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2018-04-12 17:42:48 +0900 |
| commit | 7dbbbef51afe071f9a725cf7dccf4fb2aafd8e3f (patch) | |
| tree | 3db3e3e3ac13db39ae22700fcd6c6891cdc3edd2 /src/options.go | |
| parent | 7add75126d222be45281eb0d273d3e41a8cd103d (diff) | |
| download | fzf-7dbbbef51afe071f9a725cf7dccf4fb2aafd8e3f.tar.gz | |
Add support for alt-{up,down,left,right} keys
Close #1234
Diffstat (limited to 'src/options.go')
| -rw-r--r-- | src/options.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/options.go b/src/options.go index bec4d32e..45eca5ef 100644 --- a/src/options.go +++ b/src/options.go @@ -410,6 +410,14 @@ func parseKeyChords(str string, message string) map[int]string { chord = tui.AltSlash case "alt-bs", "alt-bspace": chord = tui.AltBS + case "alt-up": + chord = tui.AltUp + case "alt-down": + chord = tui.AltDown + case "alt-left": + chord = tui.AltLeft + case "alt-right": + chord = tui.AltRight case "tab": chord = tui.Tab case "btab", "shift-tab": |
