Remove conflicting telesope keymap

This commit is contained in:
Jan Eitzinger 2023-02-25 07:47:44 +01:00
parent 8b02a1313b
commit b04f935dc7

View File

@ -12,10 +12,10 @@ telescope.setup {
},
extensions = {
fzf = {
fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
}
}
}
@ -24,12 +24,11 @@ telescope.load_extension('fzf')
telescope.load_extension('file_browser')
local map = vim.keymap.set
map('n',"<C-n>", "<cmd>Telescope file_browser<cr>")
map('n',"<C-t>", "<cmd>Telescope current_buffer_tags<cr>")
map('n', "<C-n>", "<cmd>Telescope file_browser<cr>")
map('n', "<C-t>", "<cmd>Telescope current_buffer_tags<cr>")
map('n',"<leader>e", "<cmd>Telescope find_files<cr>")
map('n',"<leader>f", "<cmd>Telescope live_grep<cr>")
map('n',"<leader>g", "<cmd>Telescope grep_string<cr>")
map('n',"<leader>b", "<cmd>Telescope buffers<cr>")
map('n',"<leader>h", "<cmd>Telescope help_tags<cr>")
map('n',"z=", "<cmd>Telescope spell_suggest<cr>")
map('n', "<leader>e", "<cmd>Telescope find_files<cr>")
map('n', "<leader>f", "<cmd>Telescope live_grep<cr>")
map('n', "<leader>b", "<cmd>Telescope buffers<cr>")
map('n', "<leader>h", "<cmd>Telescope help_tags<cr>")
map('n', "z=", "<cmd>Telescope spell_suggest<cr>")