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

Add exclude-current action

https://github.com/junegunn/fzf/pull/4231#issuecomment-2646063208
This commit is contained in:
Junegunn Choi
2025-02-09 13:37:22 +09:00
parent 67dd7e1923
commit 1be1991299
4 changed files with 79 additions and 12 deletions

View File

@@ -1605,6 +1605,8 @@ func parseActionList(masked string, original string, prevActions []*action, putA
appendAction(actBell)
case "exclude":
appendAction(actExclude)
case "exclude-current":
appendAction(actExcludeCurrent)
default:
t := isExecuteAction(specLower)
if t == actIgnore {