From d0b111e26cf8ba3a645e99b16e66e580ac92e62d Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 1 Sep 2017 18:15:28 +0900 Subject: [PATCH] Wrap preview window --- Configuring-shell-key-bindings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuring-shell-key-bindings.md b/Configuring-shell-key-bindings.md index bc951a2..81ad1d8 100644 --- a/Configuring-shell-key-bindings.md +++ b/Configuring-shell-key-bindings.md @@ -48,7 +48,7 @@ export FZF_CTRL_R_OPTS='--sort --exact' Commands that are too long are not fully visible on screen. We can use `--preview` option to display the full command on the preview window. In the following example, we bind `?` key for toggling the preview window. ```sh -export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden --bind '?:toggle-preview'" +export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind '?:toggle-preview'" ``` ### Directly executing the command (CTRL-X CTRL-R)