Skip to content

Keybindings Cheatsheet ​

Bindings for Ctrl-R, Ctrl-G, and Up/Down are installed explicitly across emacs, viins, and vicmd keymaps.

Top-Level Bindings ​

KeyWidget / SurfaceBehavior
Ctrl-Rfzf_history_searchOpen deduplicated, multiline-safe fzf history picker
Upzfz_upOn a multiline buffer (BUFFER contains \n), move cursor up (up-line-or-history); on a single-line buffer, open the Ctrl-R history picker
Downdown-line-or-historyOn a multiline buffer, move cursor down between lines before walking history at the bottom boundary
Ctrl-Tfzf --zsh file widgetPick files/dirs with right-hand preview (60%)
Alt-Cfzf --zsh cd widgetPick directories with bottom preview (60%)
Ctrl-Gzfz_rgInteractive ripgrep live search; Enter puts $EDITOR FILE +LINE into the command buffer
Tabfzf-tabContext-aware completion picker
< / >fzf-tabSwitch completion groups (switch-group)

Inside Pickers ​

SurfaceKeyAction
Ctrl-R historyEnterAccept entry and fetch exact history event via vi-fetch-history
Ctrl-R historyCtrl-YCopy command (without event/date/time prefix or ANSI escapes) to clipboard and abort picker
Ctrl-T filesCtrl-/Cycle preview window: right 60% → bottom 60% → hidden
Alt-C directoriesCtrl-/Cycle preview window: bottom 60% → hidden
Tab (fzf-tab)Tab / Shift-TabMove down / up (tab:down,btab:up)
Tab (fzf-tab)Alt-SToggle selection (alt-s:toggle)
Ctrl-G (rg)EnterInsert ${EDITOR:-vim} FILE +LINE on the command line

fzf-tab Default fzf Bindings ​

The plugin sets zstyle ':fzf-tab:*' fzf-bindings-default:

txt
tab:down,btab:up,change:top,alt-s:toggle,bspace:backward-delete-char/eof,ctrl-h:backward-delete-char/eof

Released under the MIT License.