m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-13 22:03:47 -05:00

Add change-border-label and change-preview-label actions, update man

This commit is contained in:
jpcrs
2023-01-17 18:43:02 +00:00
committed by Junegunn Choi
parent b077f6821d
commit c3d73e7ecb
3 changed files with 15 additions and 1 deletions

View File

@@ -912,7 +912,7 @@ const (
func init() {
executeRegexp = regexp.MustCompile(
`(?si)[:+](execute(?:-multi|-silent)?|reload(?:-sync)?|preview|(?:change|transform)-(?:query|prompt)|change-preview-window|change-preview|(?:re|un)bind|pos|put)`)
`(?si)[:+](execute(?:-multi|-silent)?|reload(?:-sync)?|preview|(?:change|transform)-(?:query|prompt)|change-preview-window|change-preview-label|change-border-label|change-preview|(?:re|un)bind|pos|put)`)
splitRegexp = regexp.MustCompile("[,:]+")
actionNameRegexp = regexp.MustCompile("(?i)^[a-z-]+")
}
@@ -1224,8 +1224,12 @@ func isExecuteAction(str string) actionType {
return actChangePreviewWindow
case "change-preview":
return actChangePreview
case "change-preview-label":
return actChangePreviewLabel
case "change-prompt":
return actChangePrompt
case "change-border-label":
return actChangeBorderLabel
case "change-query":
return actChangeQuery
case "pos":