From 07d518105cdd6778919181ebf3502cd6f4e9f493 Mon Sep 17 00:00:00 2001 From: James Walmsley Date: Wed, 14 Apr 2021 16:31:22 +0100 Subject: picker(live_grep): add option to grep only over open files (#666) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') 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 ``. Press `` 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 | -- cgit v1.2.3