From 690da1668663680e6b60bf8ac6a6f66d4739626b Mon Sep 17 00:00:00 2001 From: Jidbo Date: Sat, 16 Jul 2022 14:51:00 +0200 Subject: [PATCH] update telescope config --- nvim/lua/telescopeconfig.lua | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/nvim/lua/telescopeconfig.lua b/nvim/lua/telescopeconfig.lua index 9f34cf8..74f594b 100644 --- a/nvim/lua/telescopeconfig.lua +++ b/nvim/lua/telescopeconfig.lua @@ -1,21 +1,8 @@ --- load telescope +-- TELESCOPE + +-- KEYMAPS +vim.keymap.set('n', '', 'Telescope buffers') +vim.keymap.set('n', 'f', 'Telescope find_files') +vim.keymap.set('n', 'l', 'Telescope live_grep') +vim.keymap.set('n', ' gy', 'Telescope treesitter') --- require("telescope").setup { --- extensions = { --- file_browser = { --- -- theme = "ivy", --- -- initial_mode = "normal", --- mappings = { --- ["i"] = { --- [""] = fb_actions.goto_parent_dir, --- }, --- ["n"] = { --- ["b"] = fb_actions.goto_parent_dir, --- }, --- }, --- }, --- }, --- } --- --- -- plugins --- require("telescope").load_extension "file_browser"