diff options
author | awy <awy@awy.one> | 2024-11-24 21:59:54 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-11-24 21:59:54 +0300 |
commit | 13fbd5bc4ecf15e8d9b9578e03f83669f218ee32 (patch) | |
tree | 2716c11b36383c02a155dd667c7fa59ae698a350 /.config/nvim/lua/plugins/telescope.lua | |
parent | 534aa3ce4c7c35d8f5e325ba27ec8803488a41f3 (diff) |
neovim cfg
Diffstat (limited to '.config/nvim/lua/plugins/telescope.lua')
-rw-r--r-- | .config/nvim/lua/plugins/telescope.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua new file mode 100644 index 0000000..c646155 --- /dev/null +++ b/.config/nvim/lua/plugins/telescope.lua @@ -0,0 +1,9 @@ +return { + 'nvim-telescope/telescope.nvim', tag = '0.1.8', + dependencies = { 'nvim-lua/plenary.nvim' }, + config = function() + local builtin = require("telescope.builtin") + vim.keymap.set('n', '<C-p>', builtin.find_files, {}) + vim.keymap.set('n', '<leader>fg', builtin.live_grep, {}) + end +} |