fix(telescope): set initial_mode to normal for some pickers
This commit is contained in:
@@ -7,13 +7,32 @@ local function setup()
|
|||||||
|
|
||||||
telescope.setup({
|
telescope.setup({
|
||||||
pickers = {
|
pickers = {
|
||||||
|
oldfiles = {
|
||||||
|
initial_mode = "normal",
|
||||||
|
},
|
||||||
buffers = {
|
buffers = {
|
||||||
|
initial_mode = "normal",
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
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",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user