diff options
Diffstat (limited to 'lua/plugins/telescope.lua')
| -rw-r--r-- | lua/plugins/telescope.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 95a5dd6..605cdc3 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -312,6 +312,20 @@ function M.find_scripts() } end +function M.find_projects() + require("telescope.builtin").find_files { + hidden = true, + no_ignore = true, + prompt_title = " Find Projects", + path_display = { "smart" }, + search_dirs = { + "~/src", + }, + layout_strategy = "horizontal", + layout_config = { preview_width = 0.65, width = 0.75 }, + } +end + function M.grep_notes() local opts = {} opts.hidden = false |
