diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-03-17 16:18:19 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-03-17 16:18:19 +0900 |
commit | b4efe7aab7e14e6f2b02daa171b369d672a25bd2 (patch) | |
tree | 6d241748cb219c883b807e6de575d38731a748d8 | |
parent | 9ffe951f6d5bdb0249fb73b42e28defe0374c4e7 (diff) |
Show how to disable a key binding
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 > 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 If you use |