fix(telescope): set initial_mode to normal for some pickers

This commit is contained in:
2024-03-04 21:22:27 +01:00
parent 1a4e523c01
commit 51d46d58db
+20 -1
View File
@@ -7,13 +7,32 @@ local function setup()
telescope.setup({
pickers = {
oldfiles = {
initial_mode = "normal",
},
buffers = {
initial_mode = "normal",
mappings = {
i = {
["<c-d>"] = actions.delete_buffer + actions.move_to_top,
["<C-d>"] = actions.delete_buffer + actions.move_to_top,
},
},
},
diagnostics = {
initial_mode = "normal",
},
lsp_definitions = {
initial_mode = "normal",
},
lsp_type_definitions = {
initial_mode = "normal",
},
lsp_implementations = {
initial_mode = "normal",
},
lsp_references = {
initial_mode = "normal",
},
},
})