update telescope config

This commit is contained in:
Jidbo 2022-07-16 14:51:00 +02:00 committed by saibotk
parent 4c449f9537
commit 690da16686
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -1,21 +1,8 @@
-- load telescope
-- TELESCOPE
-- KEYMAPS
vim.keymap.set('n', '<C-y>', '<cmd>Telescope buffers<CR>')
vim.keymap.set('n', '<leader>f', '<cmd>Telescope find_files<CR>')
vim.keymap.set('n', '<leader>l', '<cmd>Telescope live_grep<CR>')
vim.keymap.set('n', '<silent> gy', '<cmd>Telescope treesitter<CR>')
-- require("telescope").setup {
-- extensions = {
-- file_browser = {
-- -- theme = "ivy",
-- -- initial_mode = "normal",
-- mappings = {
-- ["i"] = {
-- ["<C-->"] = fb_actions.goto_parent_dir,
-- },
-- ["n"] = {
-- ["b"] = fb_actions.goto_parent_dir,
-- },
-- },
-- },
-- },
-- }
--
-- -- plugins
-- require("telescope").load_extension "file_browser"