minor fixes
This commit is contained in:
parent
8e6acc1a53
commit
6a4b41828c
3 changed files with 21 additions and 2 deletions
lua/plugin
|
@ -4,6 +4,18 @@ return {
|
|||
lazy = true,
|
||||
cmd = "Telescope",
|
||||
version = false,
|
||||
config = function()
|
||||
require('telescope').setup({
|
||||
pickers = {
|
||||
find_files = {
|
||||
layout_config = {
|
||||
prompt_position = 'top',
|
||||
},
|
||||
sorting_strategy = 'ascending',
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>:", "<cmd>Telescope command_history<cr>", desc = "Command History" },
|
||||
{ "<leader>,", "<cmd>Telescope buffers show_all_buffers=true<cr>", desc = "Switch Buffer" },
|
||||
|
@ -11,7 +23,7 @@ return {
|
|||
{ "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find Files" },
|
||||
{ "<leader>fb", "<cmd>Telescope current_buffer_fuzzy_find<cr>", desc = "Find Strings in current Buffer" },
|
||||
{ "<leader>fg", "<cmd>Telescope live_grep<cr>", desc = "Grep Content in Files" },
|
||||
{ "<leader>/", "<cmd>Telescope current_buffer_fuzzy_find<cr>", desc = "Find Strings in current Buffer" },
|
||||
{ "<leader>/", "<cmd>Telescope current_buffer_fuzzy_find<cr>", desc = "Find Strings in current Buffer" },
|
||||
{ "<leader>fh", "<cmd>Telescope grep_string<cr>", desc = "Grep currently hovered String" },
|
||||
{ "<leader>fG", "<cmd>Telescope git_files<cr>", desc = "Find Git Files" },
|
||||
{ "<leader>fk", "<cmd>Telescope keymaps<cr>", desc = "List Keymaps" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue