return { { 'nvim-telescope/telescope.nvim', version = '0.1.*', dependencies = { 'nvim-lua/plenary.nvim' }, config = function() local telescope = require("telescope.builtin") local wk = require("which-key") wk.add({ { "g", group = "git" }, { "gh", telescope.git_bcommits, { noremap = true, silent = true }, desc = "View commits of current buffer" }, { "gb", telescope.git_branches, { noremap = true, silent = true }, desc = "View git branches" }, { "gs", telescope.git_status, { noremap = true, silent = true }, desc = "View git status" }, { "f", group = "find" }, { 'ff', telescope.git_files, { noremap = true, silent = true }, desc = "Search files" }, { 'fg', telescope.live_grep, { noremap = true, silent = true }, desc = "Search in files" }, { 'fb', telescope.buffers, { noremap = true, silent = true }, desc = "Search in buffers" }, { 'fh', telescope.help_tags, { noremap = true, silent = true }, desc = "Search in help" }, { 'fk', telescope.keymaps, { noremap = true, silent = true }, desc = "Search in keymaps" }, { 'cc', telescope.colorscheme, desc = "Select colorscheme" }, }) end }, { 'nvim-telescope/telescope-ui-select.nvim', dependencies = { 'nvim-telescope/telescope.nvim' }, config = function() require("telescope").setup { defaults = { mappings = { i = { [""] = "which_key" } } }, pickers = { colorscheme = { enable_preview = true, } }, extensions = { ["ui-select"] = { require("telescope.themes").get_cursor() } } } require("telescope").load_extension("ui-select") end } -- Don't really need it. Nicer than the default but that's it -- { -- 'nvim-tree/nvim-tree.lua', -- config = function() -- require('nvim-tree').setup { -- view = { -- width = 30, -- side = 'left', -- }, -- } -- end, -- dependencies = { 'nvim-tree/nvim-web-devicons' } -- } }