summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJames Walmsley <james@fullfat-fs.co.uk>2021-04-14 16:31:22 +0100
committerGitHub <noreply@github.com>2021-04-14 18:31:22 +0300
commit07d518105cdd6778919181ebf3502cd6f4e9f493 (patch)
tree8c34b887d876fb9f749a8e098f9263ea95d29e7f /README.md
parentc5f0d05835f70f4bce15168d949563ef4c842e4d (diff)
picker(live_grep): add option to grep only over open files (#666)
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9b1bdf6..1a6a5e2 100644
--- a/README.md
+++ b/README.md
@@ -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 |