junegunn / junegunn/fzf.vim

Search in the directory vim was started from

Open
#1,298 4 comments 0 reactions 0 assignees View on GitHub
invalid: missing template
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

My issue is both for searching within files and across files - how can I always search from the directory I started vim from as root dir?
Currently, I open up vim and able to search in the root directory but then once I open up a file that is in another sub-directory (the subdir is a git repo, the root just holds many such git repos) and then try to search (both with `:Files` and with `Rg`) then I can only search inside the git repo folder of that file, not in the root dir.

How can I change that? I have no special settings for `:Files`... (I did make another command to search specifically inside the closest git repo folder but that is unrelated to the `:Files` command...)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.