Vim field guide · dot-files

fzf.vim

Fuzzy finder integration for files, buffers, git objects, and search results. Powered by fzf and ripgrep.

The popup opens centered at 90% width / 60% height. Press Ctrl-/ to toggle the preview panel.

Files

Command / KeyAction
<C-p> / :FilesFuzzy-find all files in the repo
:GFilesFiles tracked by git (git ls-files)
:GFiles?Files with uncommitted changes (git status)

Search inside files

Command / KeyAction
<leader>a:Rg — open ripgrep prompt, type a query
<leader>A:Rg pre-filled with the word under cursor

Inside the ripgrep results window you can keep filtering the list by typing.

Buffers and history

CommandAction
:BuffersOpen buffer list
:HistoryRecently opened files
:History:Command history
:History/Search history

Git

Command / KeyAction
<leader>gc:BCommits — commit history for the current file with diff preview
:CommitsFull repo commit history

Other

CommandAction
:LinesFuzzy search across all open buffers
:BLinesFuzzy search within the current buffer
:MarksJump to a Vim mark
:MapsSearch all active key mappings

Keys inside any fzf window

KeyAction
Ctrl-j / Ctrl-kMove down / up
Ctrl-tOpen in new tab
Ctrl-xOpen in horizontal split
Ctrl-vOpen in vertical split
Ctrl-/Toggle preview panel
TabMark multiple items
EscClose