This commit is contained in:
Junegunn Choi
2023-02-15 23:20:18 +09:00
parent 27018787af
commit 352ea07226
6 changed files with 10 additions and 6 deletions

View File

@@ -6,8 +6,12 @@ CHANGELOG
- New actions
- `become(...)` - Replace the current fzf process with the specified
command using `execve(2)` system call.
See https://github.com/junegunn/fzf#turning-into-a-different-process.
See https://github.com/junegunn/fzf#turning-into-a-different-process for
more information.
```sh
# Open selected files in Vim
fzf --multi --bind 'enter:become(vim {+})'
# Open the file in Vim and go to the line
git grep --line-number . |
fzf --delimiter : --nth 3.. --bind 'enter:become(vim {1} +{2})'