diff options
| author | James Walmsley <james@fullfat-fs.co.uk> | 2021-04-14 16:31:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 18:31:22 +0300 |
| commit | 07d518105cdd6778919181ebf3502cd6f4e9f493 (patch) | |
| tree | 8c34b887d876fb9f749a8e098f9263ea95d29e7f /README.md | |
| parent | c5f0d05835f70f4bce15168d949563ef4c842e4d (diff) | |
picker(live_grep): add option to grep only over open files (#666)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -374,6 +374,14 @@ Built-in functions. Ready to be bound to any key you like. :smile: | `builtin.live_grep` | Searches in current directory files. (respecting .gitignore) | | `builtin.file_browser` | Ivy-like file explorer. Creates files by typing in filename and pressing `<C-e>`. Press `<C-e>` without prompt for more info | +#### Options for builtin.live_grep + +| Keys | Description | Options | +|------------------------|-------------------------------------------------------|--------------| +| `grep_open_files` | Restrict live_grep to currently open files. | boolean | +| `search_dirs` | List of directories to search in. | list | + + ### Vim Pickers | Functions | Description | |
