diff options
Diffstat (limited to 'lua/alpha')
| -rw-r--r-- | lua/alpha/plugins.lua | 7 | ||||
| -rw-r--r-- | lua/alpha/telescope/init.lua | 4 | ||||
| -rw-r--r-- | lua/alpha/telescope/mappings.lua | 1 |
3 files changed, 5 insertions, 7 deletions
diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua index 9c22d5c..1e6e196 100644 --- a/lua/alpha/plugins.lua +++ b/lua/alpha/plugins.lua @@ -154,13 +154,6 @@ return require('packer').startup(function(use) use { "folke/trouble.nvim", requires = "kyazdani42/nvim-web-devicons", - config = function() - require("trouble").setup { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - } - end } use 'dracula/vim' diff --git a/lua/alpha/telescope/init.lua b/lua/alpha/telescope/init.lua index 99a74e3..9092425 100644 --- a/lua/alpha/telescope/init.lua +++ b/lua/alpha/telescope/init.lua @@ -67,6 +67,10 @@ function M.projectionist () return require("telescope").extensions.projectionist.projectionist() end +function M.git_worktree () + return require("telescope").extensions.git_worktree.git_worktrees() +end + function M.laravel () vim.env.NO_TTY = 1 return require("telescope").extensions.laravel.laravel() diff --git a/lua/alpha/telescope/mappings.lua b/lua/alpha/telescope/mappings.lua index 8ffc15a..9acf5a6 100644 --- a/lua/alpha/telescope/mappings.lua +++ b/lua/alpha/telescope/mappings.lua @@ -35,6 +35,7 @@ map_tele("<leader>pe", "buffers") map_tele("<leader>pr", "treesitter") map_tele("<leader>bb", "file_browser") map_tele("<leader>gs", "git_status") +map_tele("<leader>gt", "git_worktree") map_tele("<leader>ve", "diagnostics") map_tele("<leader>fp", "my_plugins") |