mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-16 07:13:48 -05:00
@@ -284,6 +284,7 @@ const (
|
||||
actEnableSearch
|
||||
actSelect
|
||||
actDeselect
|
||||
actUnbind
|
||||
)
|
||||
|
||||
type placeholderFlags struct {
|
||||
@@ -2657,6 +2658,11 @@ func (t *Terminal) Loop() {
|
||||
command := t.replacePlaceholder(a.a, false, string(t.input), list)
|
||||
newCommand = &command
|
||||
}
|
||||
case actUnbind:
|
||||
keys := parseKeyChords(a.a, "PANIC")
|
||||
for key := range keys {
|
||||
delete(t.keymap, key)
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user