diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-03-14 16:00:04 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-03-14 16:00:04 +0200 |
| commit | 2b7afee4ce1754e521dd3f650fca357aff6bb09c (patch) | |
| tree | b01624c64a16348e4ea3972c90e5e6181a86a649 /.config/nvim/lua/plugins/telescope.lua | |
| parent | 28e504b49ac6680939a8f53f1945805f50e95cac (diff) | |
| parent | 7bf0bc4fab41f035c544e5e8c705804bdbf51094 (diff) | |
| download | dotfiles-2b7afee4ce1754e521dd3f650fca357aff6bb09c.tar.gz dotfiles-2b7afee4ce1754e521dd3f650fca357aff6bb09c.zip | |
Merge commit '92804480aafc8da1b232dbfea7b3fc5ab760c869'
Diffstat (limited to '.config/nvim/lua/plugins/telescope.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/telescope.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua index 95a5dd6..605cdc3 100644 --- a/.config/nvim/lua/plugins/telescope.lua +++ b/.config/nvim/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 |
