summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-05-04 12:52:33 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-05-04 12:52:33 +0900
commit7ed18579dc8668a15cc12ff02ac2d8b188647c09 (patch)
treea72547c6a930163d675fed233e8dd961b223f735
parentf250fc8f86a371f7e5c19403128ee5d604fe2930 (diff)
`set -o vi` is required for vi-mode bash key bindings (#39)
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index c893e2cc..1427ea63 100644
--- a/README.md
+++ b/README.md
@@ -222,9 +222,8 @@ page](https://github.com/junegunn/fzf/wiki/examples).
Key bindings for command line
-----------------------------
-The install script will setup the following key bindings.
-
-### bash/zsh
+The install script will setup the following key bindings for bash, zsh, and
+fish.
- `CTRL-T` - Paste the selected file path(s) into the command line
- `CTRL-R` - Paste the selected command from history into the command line
@@ -234,6 +233,10 @@ If you're on a tmux session, `CTRL-T` will launch fzf in a new split-window. You
may disable this tmux integration by setting `FZF_TMUX` to 0, or change the
height of the window with `FZF_TMUX_HEIGHT` (e.g. `20`, `50%`).
+If you use vi mode on bash, you need to add `set -o vi` *before* `source
+~/.fzf.bash` in your .bashrc, so that it correctly sets up key bindings for vi
+mode.
+
The source code can be found in `~/.fzf.bash` and in `~/.fzf.zsh`.
Auto-completion