Commit e65b865
committed
feat:
Once fzf 0.53 is releases adding fzf prefix for actions will become
much easier due to junegunn/fzf#3810
A few examples below.
Adding a prefix to an already existing action (`alt-q` send to quickfix):
```lua
:FzfLua live_grep keymap.fzf.alt-q=select-all
```
Using a different (or custom) action:
```lua
:lua require("fzf-lua").files({
actions ={
["ctrl-q"] = { fn = require"fzf-lua".actions.file_sel_to_qf, prefix = "select-all+accept" }
}
})
```--expect improvements with upcoming fzf 0.531 parent a9e5755 commit e65b865
2 files changed
Lines changed: 36 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
18 | 32 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 33 | + | |
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
596 | 611 | | |
597 | 612 | | |
598 | 613 | | |
| |||
878 | 893 | | |
879 | 894 | | |
880 | 895 | | |
881 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
882 | 899 | | |
883 | 900 | | |
884 | 901 | | |
| |||
0 commit comments