mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-09 16:42:00 -07:00
Allow action composition over multiple --bind
# Note + prefix in the second bind expression fzf --bind u:up --bind u:+up fzf --bind u:up+up
This commit is contained in:
@@ -809,7 +809,11 @@ func parseKeymap(keymap map[int][]action, str string) {
|
||||
default:
|
||||
t := isExecuteAction(specLower)
|
||||
if t == actIgnore {
|
||||
errorExit("unknown action: " + spec)
|
||||
if specIndex == 0 && specLower == "" {
|
||||
actions = append(keymap[key], actions...)
|
||||
} else {
|
||||
errorExit("unknown action: " + spec)
|
||||
}
|
||||
} else {
|
||||
var offset int
|
||||
switch t {
|
||||
|
Reference in New Issue
Block a user