mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Show how to disable a key binding
This commit is contained in:
parent
9ffe951f6d
commit
b4efe7aab7
16
README.md
16
README.md
@ -216,6 +216,22 @@ Add the following line to your shell configuration file.
|
|||||||
> fzf 0.48.0 or above. If you have an older version of fzf, refer to the
|
> fzf 0.48.0 or above. If you have an older version of fzf, refer to the
|
||||||
> package documentation for more information. (e.g. `apt show fzf`)
|
> package documentation for more information. (e.g. `apt show fzf`)
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> You can disable CTRL-T or ALT-C binding by setting `FZF_CTRL_T_COMMAND` or
|
||||||
|
> `FZF_ALT_C_COMMAND` to an empty string when sourcing the script.
|
||||||
|
> For example, to disable ALT-C binding:
|
||||||
|
> ```sh
|
||||||
|
> # bash
|
||||||
|
> FZF_ALT_C_COMMAND= eval "$(fzf --bash)"
|
||||||
|
>
|
||||||
|
> # zsh
|
||||||
|
> FZF_ALT_C_COMMAND= eval "$(fzf --zsh)"
|
||||||
|
>
|
||||||
|
> # fish
|
||||||
|
> fzf --fish | FZF_ALT_C_COMMAND= source
|
||||||
|
> ```
|
||||||
|
> Setting the variables after sourcing the script will have no effect.
|
||||||
|
|
||||||
### As Vim plugin
|
### As Vim plugin
|
||||||
|
|
||||||
If you use
|
If you use
|
||||||
|
Loading…
Reference in New Issue
Block a user