summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-07-06 14:10:02 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-07-08 22:51:47 +0900
commit3b2e932c132d6d0be789b65d7eeb5be2a6917a9d (patch)
tree7ca79c06331b6f92f135d4986ede891bea879067 /README.md
parent8ff4e5264188a37fe32cf032a6a1ad88a575fc1e (diff)
downloadfzf-3b2e932c132d6d0be789b65d7eeb5be2a6917a9d.tar.gz
Bind CTRL-/ and ALT-/ to toggle-wrap by default
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/README.md b/README.md
index b106f759..d026ea18 100644
--- a/README.md
+++ b/README.md
@@ -464,13 +464,11 @@ the following key bindings in bash, zsh, and fish.
- `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
+ - Press `CTRL-/` or `ALT-/` to toggle line wrapping
- Set `FZF_CTRL_R_OPTS` to pass additional options to fzf
```sh
- # CTRL-/ to toggle small preview window to see the full command
# CTRL-Y to copy the command into clipboard using pbcopy
export FZF_CTRL_R_OPTS="
- --preview 'echo {}' --preview-window up:3:hidden:wrap
- --bind 'ctrl-/:toggle-preview'
--bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort'
--color header:italic
--header 'Press CTRL-Y to copy command into clipboard'"