fzf.vim

(★ 10,244)

fzf :heart: vim

File Explorer

  • .gitattributes
  • .gitignore
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

dir

View Details ▼

List files.

dir

List files in the current working directory:

tldr ls

View documentation for the original command:

dir

Show the contents of the current directory:

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

ctags

View Details ▼

Generate an index (or tag) file of language objects found in source files for many popular programming languages.

ctags {{path/to/file}}

Generate tags for a single file and output them to a file named "tags" in the current directory, overwriting the file if it exists:

ctags -f {{path/to/file}} *

Generate tags for all files in the current directory and output them to a specific file, overwriting the file if it exists:

ctags --recurse

Generate tags for all files in the current directory and all subdirectories:

🔍

git diff

View Details ▼

Show changes to tracked files.

git diff

Show unstaged changes:

git diff HEAD

Show all uncommitted changes (including staged ones):

git diff --staged

Show only staged (added, but not yet committed) changes:

🔍

git grep

View Details ▼

Find strings inside tracked files in a repository.
Accepts a lot of the same flags as regular `grep`.

git grep "{{search_string}}"

Search for a string in files in the current `HEAD`:

git grep "{{search_string}}" -- "{{*.ext}}"

Search for a string in files matching a glob pattern in the current `HEAD`:

git grep --recurse-submodules "{{search_string}}"

Search for a string, including submodules:

🔍

git ls-files

View Details ▼

Show information about files in the index and the working tree.

git ls-files {{[-d|--deleted]}}

Show deleted files:

git ls-files {{[-m|--modified]}}

Show modified and deleted files:

git ls-files {{[-o|--others]}}

Show ignored and untracked files:

🔍

git status

View Details ▼

Show the changes to files in a Git repository.
List changed, added, and deleted files compared to the currently checked-out commit.

git status

Show untracked and changed files which are not yet added for commit:

git status {{[-s|--short]}}

Give output in short format:

git status {{[-sb|--short --branch]}}

Show output in short format along with branch info:

🔍

man

View Details ▼

Format and display manual pages.
See also: `whatis`, `apropos`.

man {{command}}

Display the man page for a command:

man {{[-H|--html=]}}{{browser_name}} {{command}}

Open the man page for a command in a browser (`=browser_name` can be omitted if `$BROWSER` is set):

man 7 {{command}}

Display the man page for a command from section 7:

🔍

Locate

View Details ▼

Find filenames quickly.

locate "{{pattern}}"

Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily):

locate "{{pattern}}"

Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily):

locate {{[-i|--ignore-case]}} "{{pattern}}"

Look for a pattern case-insensitively:

// repository documentation