diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2014-05-04 12:52:33 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-05-04 12:52:33 +0900 |
commit | 7ed18579dc8668a15cc12ff02ac2d8b188647c09 (patch) | |
tree | a72547c6a930163d675fed233e8dd961b223f735 /README.md | |
parent | f250fc8f86a371f7e5c19403128ee5d604fe2930 (diff) |
`set -o vi` is required for vi-mode bash key bindings (#39)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |