README.md: Clarify on FZF_*_OPTS (#3064)

At first I thought they were appended to FZF_*_COMMAND. Let's make it
clear that these are passed to `fzf` itself.
This commit is contained in:
Bjørn Forsman 2022-12-02 06:57:32 +01:00 committed by GitHub
parent 8f4c89f50e
commit 3f079ba7c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -333,14 +333,14 @@ fish.
- `CTRL-T` - Paste the selected files and directories onto the command-line
- Set `FZF_CTRL_T_COMMAND` to override the default command
- Set `FZF_CTRL_T_OPTS` to pass additional options
- Set `FZF_CTRL_T_OPTS` to pass additional options to fzf
- `CTRL-R` - Paste the selected command from history onto the command-line
- If you want to see the commands in chronological order, press `CTRL-R`
again which toggles sorting by relevance
- Set `FZF_CTRL_R_OPTS` to pass additional options
- Set `FZF_CTRL_R_OPTS` to pass additional options to fzf
- `ALT-C` - cd into the selected directory
- Set `FZF_ALT_C_COMMAND` to override the default command
- Set `FZF_ALT_C_OPTS` to pass additional options
- Set `FZF_ALT_C_OPTS` to pass additional options to fzf
If you're on a tmux session, you can start fzf in a tmux split-pane or in
a tmux popup window by setting `FZF_TMUX_OPTS` (e.g. `-d 40%`).