diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 990e23f..29cdd27 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -144,6 +144,15 @@ return require('packer').startup({ config = load_config('nvim-cmp'), } + -------------------- + -- Misc Utilities + -------------------- + use { -- fuzzy finder + 'nvim-telescope/telescope.nvim', + config = load_config('telescope'), + requires = {'nvim-lua/plenary.nvim'}, + } + -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if packer_bootstrap then diff --git a/config/nvim/lua/plugins/telescope.lua b/config/nvim/lua/plugins/telescope.lua new file mode 100644 index 0000000..b549b98 --- /dev/null +++ b/config/nvim/lua/plugins/telescope.lua @@ -0,0 +1,7 @@ +local map = require('utils').map -- import map + +-- telescope keybindings +map('n', 'ff', 'Telescope find_files') +map('n', 'fg', 'Telescope live_grep') +map('n', 'fb', 'Telescope buffers') +map('n', 'fh', 'Telescope help_tags')