From 450c8d49b7d4843cbd6af566eafb98693a2d2fda Mon Sep 17 00:00:00 2001 From: Ariel D'ALessandro Date: Sun, 22 Aug 2021 18:57:16 +0200 Subject: add new telecope funcions and add hide bar to tmux --- lua/alpha/telescope.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lua/alpha/telescope.lua') diff --git a/lua/alpha/telescope.lua b/lua/alpha/telescope.lua index 6bb4150..310504b 100644 --- a/lua/alpha/telescope.lua +++ b/lua/alpha/telescope.lua @@ -1,4 +1,5 @@ local actions = require('telescope.actions') + require('telescope').setup { defaults = { file_sorter = require('telescope.sorters').get_fzy_sorter, @@ -48,4 +49,14 @@ M.branches = function() end}) end +-- just a test base on a relative path +M.laravel_controllers = function() + require("telescope.builtin").find_files({ + prompt_title = "< Controllers >", + cwd = "app/Http/Controllers", + }) +end + +M.laravel_artisan = require('alpha.telescope_laravel').artisan + return M -- cgit v1.2.3