From 9f61562bbb4f40a8cf506a57ad7fd3fbb06c3717 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 2 Jul 2022 13:23:21 -0500 Subject: nvim: add telescope --- nvim/.config/nvim/lua/plugins.lua | 6 ++++++ nvim/.config/nvim/lua/telescope_config.lua | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 nvim/.config/nvim/lua/telescope_config.lua (limited to 'nvim') diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 28b7b09..b54d4ee 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -49,6 +49,12 @@ return require('packer').startup(function() config = function() require('neotree_config') end } + use { + 'nvim-telescope/telescope.nvim', + requires = 'nvim-lua/plenary.nvim', + config = function() require('telescope_config') end + } + use { 'nvim-neorg/neorg', requires = 'nvim-lua/plenary.nvim', diff --git a/nvim/.config/nvim/lua/telescope_config.lua b/nvim/.config/nvim/lua/telescope_config.lua new file mode 100644 index 0000000..8cda28c --- /dev/null +++ b/nvim/.config/nvim/lua/telescope_config.lua @@ -0,0 +1,7 @@ +--require("telescope").setup({ +--}) + +vim.keymap.set('n', 'ff', ':Telescope find_files') +vim.keymap.set('n', 'fg', ':Telescope live_grep') +vim.keymap.set('n', 'fb', ':Telescope buffers') +vim.keymap.set('n', 'fh', ':Telescope help_tags') -- cgit v1.2.3