Skip to content
Myr

`set -o vi` is required for vi-mode bash key bindings (#39)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent f250fc8 · Browse files · 1 file+6 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−3 removed

  • other:+6 added−3 removed

1 file+6 added−3 removed

modified:README.md+6 added-3 removed
220 unmodified lines
221222Key bindings for command line223-----------------------------224225The install script will setup the following key bindings.225The install script will setup the following key bindings for bash, zsh, and226fish.227227### bash/zsh228228- `CTRL-T` - Paste the selected file path(s) into the command line229- `CTRL-R` - Paste the selected command from history into the command line230- `ALT-C` - cd into the selected directory231232If you're on a tmux session, `CTRL-T` will launch fzf in a new split-window. You233may disable this tmux integration by setting `FZF_TMUX` to 0, or change the234height of the window with `FZF_TMUX_HEIGHT` (e.g. `20`, `50%`).235236If you use vi mode on bash, you need to add `set -o vi` *before* `source237~/.fzf.bash` in your .bashrc, so that it correctly sets up key bindings for vi238mode.239240The source code can be found in `~/.fzf.bash` and in `~/.fzf.zsh`.241242Auto-completion243---------------
283 unmodified lines